Skip to content

Commit

Permalink
ci: add arm as a build to release
Browse files Browse the repository at this point in the history
  • Loading branch information
Slug-Boi committed Jan 22, 2025
1 parent e2f740d commit bf473f8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ jobs:
release_name_macos="aion-cli-$tag-macos"
cd bin/darwin && tar -czvf $release_name_macos.tar.gz aion-cli && cd ../..
GOOS=darwin GOARCH=arm64 go build -o bin/darwin_arm/aion-cli
release_name_macos_arm="aion-cli-$tag-macos-aarch64"
cd bin/darwin_arm && tar -czvf $release_name_macos_arm.tar.gz aion-cli && cd ../..
GOOS=windows GOARCH=amd64 go build -o bin/windows/aion-cli.exe
release_name_windows="aion-cli-$tag-windows"
cd bin/windows && tar -czvf $release_name_windows.tar.gz aion-cli.exe && cd ../..
Expand All @@ -74,6 +78,7 @@ jobs:
bin/linux/*.tar.gz
bin/darwin/*.tar.gz
bin/windows/*.tar.gz
bin/darwin_arm/*.tar.gz
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down

0 comments on commit bf473f8

Please sign in to comment.