remove symbols in release package
This commit is contained in:
parent
ca18f3e8a2
commit
d2f8ad7657
1 changed files with 3 additions and 2 deletions
5
.github/workflows/create-release.yml
vendored
5
.github/workflows/create-release.yml
vendored
|
@ -30,13 +30,14 @@ jobs:
|
||||||
env:
|
env:
|
||||||
GOOS: ${{ matrix.os }}
|
GOOS: ${{ matrix.os }}
|
||||||
GOARCH: ${{ matrix.ar }}
|
GOARCH: ${{ matrix.ar }}
|
||||||
run: go build -trimpath -o artifacts/ .
|
CGO_ENABLED: 0
|
||||||
|
run: go build -trimpath -ldflags="-s -w -buildid=" -v -o artifacts/ .
|
||||||
- name: SHA256 sum
|
- name: SHA256 sum
|
||||||
run: sha256sum -b artifacts/* > artifacts/lbcd.sha256
|
run: sha256sum -b artifacts/* > artifacts/lbcd.sha256
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: lbcd-${{ matrix.os }}
|
name: lbcd-${{ matrix.os }}-${{ matrix.ar }}
|
||||||
path: artifacts/*
|
path: artifacts/*
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue