Skip to content

Commit

Permalink
zip things properly
Browse files Browse the repository at this point in the history
  • Loading branch information
rpitasky authored Jan 5, 2025
1 parent 8c6f9fb commit 9a631ac
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ jobs:
# The built binary output location
BIN_OUTPUT="target/${{ matrix.target }}/release/basiclings${BIN_SUFFIX}"

mkdir "artifact-${{ matrix.name }}"
mkdir artifact
# Move the built binary where you want it
mv "${BIN_OUTPUT}" "./artifact-${{ matrix.name }}/basiclings${BIN_SUFFIX}"
mv "${BIN_OUTPUT}" "./artifact/basiclings${BIN_SUFFIX}"
- name: Build Autotester
shell: bash
run: |
Expand All @@ -61,11 +61,11 @@ jobs:
cd ../tests/autotester
make
cd ../../../
mv "CEmu/tests/autotester/autotester${BIN_SUFFIX}" "./artifact-${{ matrix.name }}/autotester${BIN_SUFFIX}"
mv "CEmu/tests/autotester/autotester${BIN_SUFFIX}" "./artifact/autotester${BIN_SUFFIX}"
- name: Package
shell: bash
run: |
zip "./artifact-${{ matrix.name }}"
zip "artifact-${{ matrix.name }}.zip" ./artifact/*
- name: Upload
uses: actions/upload-artifact@v4.5.0
with:
Expand Down

0 comments on commit 9a631ac

Please sign in to comment.