Skip to content

Commit 52f322a

Browse files
authored
Update build.yml
1 parent 267f1ae commit 52f322a

File tree

1 file changed

+7
-16
lines changed

1 file changed

+7
-16
lines changed

.github/workflows/build.yml

+7-16
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,10 @@ jobs:
7373
run: |
7474
mkdir -p nitro
7575
cp build/nitro nitro/
76-
76+
zip -r nitro.zip nitro
7777
# run e2e testing
7878
cd nitro
7979
chmod +x ../.github/scripts/e2e-test-linux-and-mac.sh && ../.github/scripts/e2e-test-linux-and-mac.sh ./nitro ${{ env.MODEL_URL }}
80-
cd ..
81-
82-
zip -r nitro.zip nitro
8380
8481
- uses: actions/[email protected]
8582
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
@@ -124,13 +121,11 @@ jobs:
124121
run: |
125122
mkdir -p nitro
126123
cp build/nitro nitro/
127-
124+
zip -r nitro.zip nitro
125+
128126
# run e2e testing
129127
cd nitro
130128
chmod +x ../.github/scripts/e2e-test-linux-and-mac.sh && ../.github/scripts/e2e-test-linux-and-mac.sh ./nitro ${{ env.MODEL_URL }}
131-
cd ..
132-
133-
zip -r nitro.zip nitro
134129
135130
- uses: actions/[email protected]
136131
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
@@ -177,13 +172,11 @@ jobs:
177172
mkdir -p nitro
178173
cp llama.cpp/ggml-metal.metal nitro/
179174
cp build/nitro nitro/
180-
175+
zip -r nitro.zip nitro
176+
181177
# run e2e testing
182178
cd nitro
183179
chmod +x ../.github/scripts/e2e-test-linux-and-mac.sh && ../.github/scripts/e2e-test-linux-and-mac.sh ./nitro ${{ env.MODEL_URL }}
184-
cd ..
185-
186-
zip -r nitro.zip nitro
187180
188181
- uses: actions/[email protected]
189182
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
@@ -228,13 +221,11 @@ jobs:
228221
run: |
229222
mkdir -p nitro
230223
cp build/nitro nitro/
231-
224+
zip -r nitro.zip nitro
225+
232226
# run e2e testing
233227
cd nitro
234228
chmod +x ../.github/scripts/e2e-test-linux-and-mac.sh && ../.github/scripts/e2e-test-linux-and-mac.sh ./nitro ${{ env.MODEL_URL }}
235-
cd ..
236-
237-
zip -r nitro.zip nitro
238229
239230
- uses: actions/[email protected]
240231
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')

0 commit comments

Comments
 (0)