Skip to content

Commit

Permalink
[update] go buildに-trimpathを追加
Browse files Browse the repository at this point in the history
  • Loading branch information
shinosaki authored Feb 20, 2025
1 parent 3d58f39 commit f6966f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
export GOARCH=${{ matrix.arch }}
export GOOS=${{ matrix.os }}
export CGO_ENABLED=0
go build -ldflags="-s -w" -o ${{ env.OUTPUT_FILE }}
go build -ldflags="-s -w" -trimpath -o ${{ env.OUTPUT_FILE }}
- name: Upload Artifact
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit f6966f2

Please sign in to comment.