Skip to content

Commit

Permalink
Use different command to check sha
Browse files Browse the repository at this point in the history
  • Loading branch information
award999 committed Dec 12, 2024
1 parent d677c28 commit da1a0b0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docker/test-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@ trap "cleanup" EXIT
curl -O "https://nodejs.org/dist/v$NODE_VERSION/$NODE_ARCHIVE"
curl -O "https://nodejs.org/dist/v$NODE_VERSION/SHASUMS256.txt"

NODE_CHECKSUM="$(grep "$NODE_ARCHIVE" SHASUMS256.txt)"

grep "$NODE_ARCHIVE" SHASUMS256.txt | sha256sum -c -
grep "$NODE_ARCHIVE" SHASUMS256.txt | shasum -a 256 -c -

tar -xzf "$NODE_ARCHIVE" -C "$ARTIFACTS"

Expand Down

0 comments on commit da1a0b0

Please sign in to comment.