File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : " Setup Go"
2+ description : " Setup Go"
3+ runs :
4+ using : " composite"
5+ steps :
6+ - name : Install go
7+ uses : actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
8+ with :
9+ go-version-file : " go.mod"
10+ cache : true
11+ cache-dependency-path : go.sum
12+ - id : go-cache-paths
13+ shell : bash
14+ run : |
15+ echo "::set-output name=go-build::$(go env GOCACHE)"
16+ echo "::set-output name=go-mod::$(go env GOMODCACHE)"
17+ - name : Go Mod Cache
18+ uses : actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3
19+ with :
20+ path : ${{ steps.go-cache-paths.outputs.go-mod }}
21+ key : ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }}
22+ restore-keys : |
23+ ${{ runner.os }}-go-mod-
24+ - name : Go Build Cache
25+ uses : actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3
26+ with :
27+ path : ${{ steps.go-cache-paths.outputs.go-build }}
28+ key : ${{ runner.os }}-go-build-${{ hashFiles('**/go.sum') }}
29+ restore-keys : |
30+ ${{ runner.os }}-go-build-
Original file line number Diff line number Diff line change @@ -140,18 +140,4 @@ jobs:
140140 go-version-file : " go.mod"
141141 cache : true
142142 cache-dependency-path : go.sum
143- - name : install kustomize
144- run : |
145- make kustomize
146- - name : generate release artifacts
147- run : |
148- make release
149- - name : generate release notes
150- run : |
151- make release-notes
152- - name : Release
153- uses : softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v1
154- with :
155- draft : true
156- files : out/*
157- body_path : _releasenotes/${{ env.RELEASE_TAG }}.md
143+
You can’t perform that action at this time.
0 commit comments