diff options
| author | Jae-Heon Ji <32578710+jaeheonji@users.noreply.github.com> | 2022-07-29 20:25:14 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-29 20:25:14 +0900 |
| commit | cbb698fb62cba35f9451d04b35e6be47675c497d (patch) | |
| tree | 66896280238152be5983895f019459b2186f6759 /.github/workflows | |
| parent | Add har7an to governance.md (diff) | |
| download | sl0ppij-cbb698fb62cba35f9451d04b35e6be47675c497d.tar.gz sl0ppij-cbb698fb62cba35f9451d04b35e6be47675c497d.tar.xz sl0ppij-cbb698fb62cba35f9451d04b35e6be47675c497d.zip | |
fix(ci): change checksum tool in macos (#1613)
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/release.yml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c34d42b6..69dd3a75 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -85,13 +85,16 @@ 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 id: make-artifact working-directory: ./target/${{ matrix.target }}/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: |
