mirror of https://github.com/buster-so/buster.git
shasum command on action
This commit is contained in:
parent
8d78b97725
commit
5fe8d54d0c
|
@ -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
|
||||||
|
if [[ "${{ runner.os }}" == "macOS" ]]; then
|
||||||
|
shasum -a 256 ${{ matrix.artifact_name }} > ${{ matrix.artifact_name }}.sha256
|
||||||
|
else
|
||||||
sha256sum ${{ matrix.artifact_name }} > ${{ matrix.artifact_name }}.sha256
|
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
|
||||||
|
|
Loading…
Reference in New Issue