From 565415c0bcc91d17a8ed83903a6c4079e94e4442 Mon Sep 17 00:00:00 2001 From: Christian Zangl Date: Fri, 28 Jun 2024 22:34:28 +0200 Subject: [PATCH] runner arch --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c6746f6..a407b94 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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