Add -s -w flags to go build
This commit is contained in:
parent
0f5d835af9
commit
260fe3718a
1 changed files with 1 additions and 1 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -16,7 +16,7 @@ jobs:
|
|||
go-version: stable
|
||||
|
||||
- name: Build
|
||||
run: go build .
|
||||
run: go build -ldflags "-s -w" .
|
||||
|
||||
- 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