fix(ci): change checksum tool in macos
@@ -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"
+ 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:
