Skip to content

Commit

Permalink
runner arch
Browse files Browse the repository at this point in the history
  • Loading branch information
laktak committed Jun 28, 2024
1 parent da32ddf commit 565415c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ jobs:
c=$(./chkbit --version)
echo $c
if [[ $a != $c ]]; then echo "version error $a $c"; exit 1; fi
tar -czf chkbit-linux_amd64.tar.gz chkbit
tar -czf chkbit-linux_${RUNNER_ARCH}.tar.gz chkbit
elif [ "$RUNNER_OS" == "macOS" ]; then
./chkbit --version
tar -czf chkbit-macos_amd64.tar.gz chkbit
tar -czf chkbit-macos_${RUNNER_ARCH}.tar.gz chkbit
elif [ "$RUNNER_OS" == "Windows" ]; then
./chkbit.exe --version
7z a -tzip chkbit-windows_amd64.zip chkbit.exe
7z a -tzip chkbit-windows_${RUNNER_ARCH}.zip chkbit.exe
else
echo 'unknown runner'
exit 1
Expand Down

0 comments on commit 565415c

Please sign in to comment.