Skip to content

Commit

Permalink
fix bleeding release (#408)
Browse files Browse the repository at this point in the history
  • Loading branch information
Young-Flash authored Oct 21, 2024
1 parent 212c606 commit 9f6059d
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/bleeding-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,17 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
run: |
PLATFORM=$(uname -s | tr '[:upper:]' '[:lower:]')-$(uname -m | tr '[:upper:]' '[:lower:]')
case $(uname -ms) in
'Darwin x86_64')
PLATFORM=darwin-x86_64
;;
'Darwin arm64')
PLATFORM=darwin-aarch64
;;
'Linux x86_64')
PLATFORM=linux-x86_64
;;
esac
echo "PLATFORM=$PLATFORM" >> $GITHUB_ENV
rm -rf tmp-bins
mkdir tmp-bins
Expand Down

0 comments on commit 9f6059d

Please sign in to comment.