Skip to content

Commit 38dd713

Browse files
committed
ci: fix sha256sum not found in macOS
CI error in macOS: script/cache-hash.sh: line 18: sha256sum: command not found
1 parent 8a38a91 commit 38dd713

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/commit-ci.yml

+5
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ jobs:
2525
echo ${GITHUB_REF#refs/*/}
2626
echo CI_BRANCH=${GITHUB_REF#refs/*/} >> $GITHUB_ENV
2727
28+
- name: Install coreutils macOS
29+
if: startsWith(matrix.os, 'macOS')
30+
run: |
31+
brew install coreutils
32+
2833
- name: Calculate JNI cache hash
2934
id: cache-hash
3035
shell: bash

.github/workflows/pull-request-ci.yml

+5
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ jobs:
3232
echo ${GITHUB_REF#refs/*/}
3333
echo CI_BRANCH=${GITHUB_REF#refs/*/} >> $GITHUB_ENV
3434
35+
- name: Install coreutils macOS
36+
if: startsWith(matrix.os, 'macOS')
37+
run: |
38+
brew install coreutils
39+
3540
- name: Calculate JNI cache hash
3641
id: cache-hash
3742
shell: bash

0 commit comments

Comments
 (0)