Skip to content

Commit 6b805c1

Browse files
committed
Complete #1.
1 parent 9d3a771 commit 6b805c1

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/build.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,12 @@ jobs:
7676
cd build;
7777
ant clean;
7878
ant build
79+
- name: Add artifact
80+
uses: actions/upload-artifact@v3
81+
if: {{ github.ref == 'ref/head/main' }}
82+
with:
83+
name: linux
84+
path: ./build/linux/work
7985
mac:
8086
runs-on: macos-latest
8187
name: Build Mac
@@ -111,6 +117,12 @@ jobs:
111117
cd build;
112118
ant clean;
113119
ant build
120+
- name: Add artifact
121+
uses: actions/upload-artifact@v3
122+
if: {{ github.ref == 'ref/head/main' }}
123+
with:
124+
name: macos
125+
path: ./build/macos/work
114126
windows:
115127
runs-on: windows-latest
116128
name: Build Windows
@@ -129,3 +141,9 @@ jobs:
129141
cd build;
130142
ant clean;
131143
ant build
144+
- name: Add artifact
145+
uses: actions/upload-artifact@v3
146+
if: {{ github.ref == 'ref/head/main' }}
147+
with:
148+
name: windows
149+
path: ./build/windows/work

0 commit comments

Comments
 (0)