Add -s -w flags to go build

This commit is contained in:
ayn2op 2024-03-15 03:51:33 +05:30
parent 0f5d835af9
commit 260fe3718a

View file

@ -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) }}