From 43e5e8499a3f810ccf98d70173be647a314c0cef Mon Sep 17 00:00:00 2001 From: Sean Kim <33474168+seankim658@users.noreply.github.com> Date: Tue, 17 Dec 2024 12:10:08 -0500 Subject: [PATCH] Fix shasum command call on intel arch --- .github/workflows/release-build.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index dabbfaf..8e5e668 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -42,10 +42,8 @@ jobs: cd target/${{ matrix.platform.target }}/release if [[ "${{ matrix.platform.os }}" == "windows-latest" ]]; then powershell -Command "(Get-FileHash rere-${{ matrix.platform.release_for }}.exe -Algorithm SHA256).Hash.ToLower() + ' rere-${{ matrix.platform.release_for }}.exe'" > rere-${{ matrix.platform.release_for }}.sha256 - elif [[ "${{ matrix.platform.os }}" == "macos-12" || "${{ matrix.platform.os }}" == "macos-latest" ]]; then - shasum -a 256 rere-${{ matrix.platform.release_for }} > rere-${{ matrix.platform.release_for }}.sha256 else - sha256sum rere-${{ matrix.platform.release_for }} > rere-${{ matrix.platform.release_for }}.sha256 + shasum -a 256 rere-${{ matrix.platform.release_for }} > rere-${{ matrix.platform.release_for }}.sha256 fi - name: Upload SHA256 checksum uses: actions/upload-release-asset@v1