File tree 2 files changed +0
-13
lines changed
2 files changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -32,18 +32,13 @@ jobs:
32
32
with :
33
33
go-version : stable
34
34
35
- - name : Determine GOPATH
36
- id : go
37
- run : echo "go_path=$(go env GOPATH)" >> $GITHUB_OUTPUT
38
-
39
35
- name : Build binary
40
36
uses : goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0
41
37
with :
42
38
version : v2.3.2 # renovate: datasource=github-tags depName=goreleaser/goreleaser
43
39
args : build --clean ${{ !startsWith(github.ref, 'refs/tags/') && '--snapshot' || '' }}
44
40
env :
45
41
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
46
- GOPATH : ${{ steps.go.outputs.go_path }}
47
42
48
43
- name : Store Artifacts in Cache
49
44
uses : actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
Original file line number Diff line number Diff line change @@ -15,10 +15,6 @@ builds:
15
15
- s390x
16
16
flags :
17
17
- -trimpath
18
- gcflags :
19
- - all=-trimpath={{.Env.GOPATH}}
20
- asmflags :
21
- - all=-trimpath={{.Env.GOPATH}}
22
18
ldflags :
23
19
- -s -w -X main.version={{.Version}}
24
20
@@ -34,10 +30,6 @@ builds:
34
30
- s390x
35
31
flags :
36
32
- -trimpath
37
- gcflags :
38
- - all=-trimpath={{.Env.GOPATH}}
39
- asmflags :
40
- - all=-trimpath={{.Env.GOPATH}}
41
33
ldflags :
42
34
- -s -w -X main.version={{.Version}}
43
35
You can’t perform that action at this time.
0 commit comments