ci: add -trimpath flag to go build flags
This commit is contained in:
parent
9750475418
commit
09d2c3b68e
1 changed files with 1 additions and 1 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -21,7 +21,7 @@ jobs:
|
|||
run: sudo apt install libx11-dev
|
||||
|
||||
- name: Build
|
||||
run: go build -ldflags "-s -w" .
|
||||
run: go build -trimpath -ldflags=-s .
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
if: ${{ github.event_name == 'push' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue