We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51f0611 commit 7d92805Copy full SHA for 7d92805
.github/workflows/release.yml
@@ -34,16 +34,21 @@ jobs:
34
with:
35
go-version: 1.16
36
37
+ - id: cache-paths
38
+ run: |
39
+ echo "::set-output name=build::$(go env GOCACHE)"
40
+ echo "::set-output name=mod::$(go env GOMODCACHE)"
41
+
42
- name: Go Build Cache
43
uses: actions/cache@v2
44
- path: ${{ needs.verify.outputs.go-cache-build }}
45
+ path: ${{ steps.cache-paths.outputs.build }}
46
key: ${{ runner.os }}-go-build-${{ hashFiles('**/go.sum') }}
47
48
- name: Go Mod Cache
49
50
- path: ${{ needs.verify.outputs.go-cache-mod }}
51
+ path: ${{ steps.cache-paths.outputs.mod }}
52
key: ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }}
53
54
- name: Import GPG key
0 commit comments