Skip to content

Commit

Permalink
Update build output filename in GitHub Actions workflow
Browse files Browse the repository at this point in the history
Adjusted the filename format for the built binary to include the architecture specification, ensuring clarity and consistency across different architectures. This facilitates easier identification and management of binaries.
  • Loading branch information
Christian Roessner committed Sep 5, 2024
1 parent eb51f4d commit f962467
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-stable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
go-version: 1.22.x
- run: |
GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} \
go build -mod=vendor -ldflags="-s -X main.version=${GITHUB_REF#refs/heads/})-${GITHUB_SHA:0:8}" -o ${{ env.APP_NAME }}-${{ matrix.goos }}
go build -mod=vendor -ldflags="-s -X main.version=${GITHUB_REF#refs/heads/})-${GITHUB_SHA:0:8}" -o ${{ env.APP_NAME }}-${{ matrix.goos }}-${{ matrix.goarch }}
- name: Copy binaries
run: |
Expand Down

0 comments on commit f962467

Please sign in to comment.