Skip to content

Commit

Permalink
Update Build and Release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yodaluca23 authored Jun 22, 2024
1 parent 4d01460 commit 90c7e8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/Build and Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ jobs:
#Check Hash
if [[ "${SHA256}" != "noSHA" ]]; then
echo "Expected SHA256 Hash: ${SHA256}"
calculated_sha256=$(sha256sum "$orion" | awk '{print $1}')
calculated_sha256=$(shasum -a 256 "$orion" | awk '{print $1}')
echo "Calculated SHA256 Hash: $calculated_sha256"
if [[ "${calculated_sha256}" == "${SHA256}" ]]; then
echo "SHA256 matches. Continuing..."
Expand All @@ -170,7 +170,7 @@ jobs:
fi
elif [[ "${MD5}" != "noMD5" ]]; then
echo "Expected MD5 Hash: ${MD5}"
calculated_md5=$(md5sum "$orion" | awk '{print $1}')
calculated_md5=$(md5 -q "$orion" | awk '{print $1}')
echo "Calculated MD5 Hash: $calculated_md5"
if [[ "${calculated_md5}" == "${MD5}" ]]; then
echo "MD5 matches. Continuing..."
Expand Down

0 comments on commit 90c7e8d

Please sign in to comment.