Skip to content

Commit

Permalink
chore(ci): fix multiarch build args
Browse files Browse the repository at this point in the history
  • Loading branch information
heronimus committed Oct 19, 2023
1 parent 049623b commit c5f78d1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ jobs:
- name: Build ${{ matrix.goos }}/${{ matrix.goarch }}
run: |
output_name=world-cli_${{ matrix.goos }}_${{ matrix.goarch }}
if [ $GOOS = "windows" ]; then
output_name+='.exe'
fi
[ ${{ matrix.goos }} = "windows" ] && output_name+=".exe"
env GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -o $output_name
- name: Upload binary to Github artifact
Expand Down

0 comments on commit c5f78d1

Please sign in to comment.