Skip to content

Commit

Permalink
Fix shasum alias (:facepalm:)
Browse files Browse the repository at this point in the history
  • Loading branch information
joanlopez committed Jan 11, 2024
1 parent 68abb7f commit 2814ddf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,9 @@ jobs:
CODECOV_BASH_SHA512SUM: d075b412a362a9a2b7aedfec3b8b9a9a927b3b99e98c7c15a2b76ef09862aeb005e91d76a5fd71b511141496d0fd23d1b42095f722ebcd509d768fba030f159e
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
run: |
if [ "$(uname)" = "Darwin" ]; then
alias sha256sum='shasum -a 256'
if [[ "${{ matrix.platform }}" == macos* ]]; then
shopt -s expand_aliases
alias sha512sum='shasum -a 512'
fi
curl -fsSLO "https://raw.githubusercontent.com/codecov/codecov-bash/${CODECOV_BASH_VERSION}/codecov"
echo "$CODECOV_BASH_SHA512SUM codecov" | sha512sum -c -
Expand Down

0 comments on commit 2814ddf

Please sign in to comment.