fix(ci): change checksum tool in macos (#1613)
This commit is contained in:
parent
06a375f6fa
commit
cbb698fb62
1 changed files with 6 additions and 4 deletions
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
|
|
@ -85,11 +85,14 @@ jobs:
|
|||
|
||||
- name: Create checksum
|
||||
id: make-checksum
|
||||
if: runner.os != 'macos'
|
||||
working-directory: ./target/${{ matrix.target }}/release
|
||||
run: |
|
||||
name="zellij-${{ matrix.target }}.sha256sum"
|
||||
sha256sum "zellij" > "${name}"
|
||||
if [[ "$RUNNER_OS" != "macOS" ]]; then
|
||||
sha256sum "zellij" > "${name}"
|
||||
else
|
||||
shasum -a 256 "zellij" > "${name}"
|
||||
fi
|
||||
echo "::set-output name=name::${name}"
|
||||
|
||||
- name: Tar release
|
||||
|
|
@ -112,7 +115,6 @@ jobs:
|
|||
|
||||
- name: Upload checksum
|
||||
uses: actions/upload-release-asset@v1.0.2
|
||||
if: runner.os != 'macos'
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue