Skip to content

Commit 6f51b9e

Browse files
committed
ci: use the native macOS artifact checksum tool
1 parent d66ddde commit 6f51b9e

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎.github/workflows/ci-arm64-published-cn.yml‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,11 @@ jobs:
9191
run: |
9292
set -euo pipefail
9393
cd art
94-
sha256sum -c SHA256SUMS
94+
if [ "$TARGET_SYSTEM" = macos ]; then
95+
shasum -a 256 -c SHA256SUMS
96+
else
97+
sha256sum -c SHA256SUMS
98+
fi
9599
grep -Eq '^[0-9a-f]{40}$' source-sha.txt
96100
grep -Eq '^[0-9a-f]{40}$' engine-release-sha.txt
97101
grep -Eq '^[0-9a-f]{40}$' index-source-sha.txt

0 commit comments

Comments
 (0)