Skip to content

Commit 9a631ac

Browse files
authored
zip things properly
1 parent 8c6f9fb commit 9a631ac

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/rust.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ jobs:
4949
# The built binary output location
5050
BIN_OUTPUT="target/${{ matrix.target }}/release/basiclings${BIN_SUFFIX}"
5151

52-
mkdir "artifact-${{ matrix.name }}"
52+
mkdir artifact
5353
# Move the built binary where you want it
54-
mv "${BIN_OUTPUT}" "./artifact-${{ matrix.name }}/basiclings${BIN_SUFFIX}"
54+
mv "${BIN_OUTPUT}" "./artifact/basiclings${BIN_SUFFIX}"
5555
- name: Build Autotester
5656
shell: bash
5757
run: |
@@ -61,11 +61,11 @@ jobs:
6161
cd ../tests/autotester
6262
make
6363
cd ../../../
64-
mv "CEmu/tests/autotester/autotester${BIN_SUFFIX}" "./artifact-${{ matrix.name }}/autotester${BIN_SUFFIX}"
64+
mv "CEmu/tests/autotester/autotester${BIN_SUFFIX}" "./artifact/autotester${BIN_SUFFIX}"
6565
- name: Package
6666
shell: bash
6767
run: |
68-
zip "./artifact-${{ matrix.name }}"
68+
zip "artifact-${{ matrix.name }}.zip" ./artifact/*
6969
- name: Upload
7070
uses: actions/[email protected]
7171
with:

0 commit comments

Comments
 (0)