Skip to content

Commit 41e135a

Browse files
committed
ldflags
1 parent a89bb09 commit 41e135a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/go.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
release-linux-amd64:
9-
name: release linux/amd64
9+
name: Build and release
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
@@ -20,12 +20,12 @@ jobs:
2020
goos: windows
2121
steps:
2222
- uses: actions/checkout@v2
23-
- uses: wangyoucao577/go-release-action@v1.22
23+
- uses: wangyoucao577/go-release-action@v1.28
2424
with:
2525
github_token: ${{ secrets.GITHUB_TOKEN }}
2626
goversion: 1.17
2727
goos: ${{ matrix.goos }}
2828
goarch: ${{ matrix.goarch }}
2929
binary_name: "CFExporter"
3030
pre_command: "sed -i 's/${VERSION}/${{github.ref_name}}/g' main.go"
31-
build_flags: "-extldflags=-static"
31+
ldflags: "-extldflags=-static"

0 commit comments

Comments
 (0)