Skip to content

Commit

Permalink
ci: fix sha256sum not found in macOS
Browse files Browse the repository at this point in the history
CI error in macOS:
script/cache-hash.sh: line 18: sha256sum: command not found
  • Loading branch information
Bambooin committed Dec 14, 2023
1 parent 8a38a91 commit 38dd713
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/commit-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ jobs:
echo ${GITHUB_REF#refs/*/}
echo CI_BRANCH=${GITHUB_REF#refs/*/} >> $GITHUB_ENV
- name: Install coreutils macOS
if: startsWith(matrix.os, 'macOS')
run: |
brew install coreutils
- name: Calculate JNI cache hash
id: cache-hash
shell: bash
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/pull-request-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ jobs:
echo ${GITHUB_REF#refs/*/}
echo CI_BRANCH=${GITHUB_REF#refs/*/} >> $GITHUB_ENV
- name: Install coreutils macOS
if: startsWith(matrix.os, 'macOS')
run: |
brew install coreutils
- name: Calculate JNI cache hash
id: cache-hash
shell: bash
Expand Down

0 comments on commit 38dd713

Please sign in to comment.