We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77d5e0a commit ca45bebCopy full SHA for ca45beb
.github/actions/build-binaries/action.yml
@@ -42,8 +42,13 @@ runs:
42
fi
43
cd -
44
- name: Generate SHA-256 and Save to File
45
- run: shasum -a 256 ${{ matrix.platform.name }} > ${{ matrix.platform.name }}.sha256
46
shell: bash
+ run: |
47
+ if command -v shasum >/dev/null 2>&1; then
48
+ shasum -a 256 "${{ matrix.platform.name }}" > "${{ matrix.platform.name }}.sha256"
49
+ else
50
+ sha256sum "${{ matrix.platform.name }}" > "${{ matrix.platform.name }}.sha256"
51
+ fi
52
- name: Generate artifact attestation
53
if: inputs.publish == 'true'
54
uses: actions/attest-build-provenance@c074443f1aee8d4aeeae555aebba3282517141b2 # ratchet:actions/attest-build-provenance@v2
0 commit comments