Merge pull request #118 from buster-so/staging

shasum command on action
This commit is contained in:
dal 2025-02-12 08:32:36 -08:00 committed by GitHub
commit 5afd7583bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 1 deletions

View File

@ -69,7 +69,11 @@ jobs:
run: | run: |
cd target/${{ matrix.target }}/release cd target/${{ matrix.target }}/release
tar czf ${{ matrix.artifact_name }} buster-cli 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) - name: Compress binary (Windows)
if: matrix.use_tar == false if: matrix.use_tar == false