shasum command on action

This commit is contained in:
dal 2025-02-12 09:32:04 -07:00
parent 8d78b97725
commit 5fe8d54d0c
No known key found for this signature in database
GPG Key ID: 16F4B0E1E9F61122
1 changed files with 5 additions and 1 deletions

View File

@ -69,7 +69,11 @@ jobs:
run: |
cd target/${{ matrix.target }}/release
tar czf ${{ matrix.artifact_name }} buster-cli
sha256sum ${{ matrix.artifact_name }} > ${{ matrix.artifact_name }}.sha256
if [[ "${{ runner.os }}" == "macOS" ]]; then
shasum -a 256 ${{ matrix.artifact_name }} > ${{ matrix.artifact_name }}.sha256
else
sha256sum ${{ matrix.artifact_name }} > ${{ matrix.artifact_name }}.sha256
fi
- name: Compress binary (Windows)
if: matrix.use_tar == false