Skip to content

Commit

Permalink
ci: rename binary to world instead of world-cli
Browse files Browse the repository at this point in the history
  • Loading branch information
smsunarto committed Nov 4, 2023
1 parent 537014c commit 8cd616b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Build ${{ matrix.goos }}/${{ matrix.goarch }}
id: build
run: |
output_name=world-cli_${{ matrix.goos }}_${{ matrix.goarch }}
output_name=world_${{ matrix.goos }}_${{ matrix.goarch }}
[ ${{ matrix.goos }} = "windows" ] && output_name+=".exe"
env GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -o $output_name
Expand All @@ -54,5 +54,5 @@ jobs:
if: ${{ inputs.create_release }}
uses: actions/upload-artifact@v3
with:
name: world-cli-${{ matrix.goos }}-${{ matrix.goarch }}
path: ./world-cli*.tar.gz
name: world-${{ matrix.goos }}-${{ matrix.goarch }}
path: ./world*.tar.gz

0 comments on commit 8cd616b

Please sign in to comment.