File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 21
21
22
22
- name : Go cache
23
23
24
+ if : runner.environment == 'github-hosted'
24
25
with :
25
26
key : setup-go-${{ runner.os }}-${{ steps.install-go.outputs.go-version }}-${{ inputs.cache-name }}-${{ hashFiles('**/go.sum') }}
26
27
restore-keys : |
30
31
~/.cache/go-build
31
32
~/Library/Caches/go-build
32
33
~/AppData/Local/go-build
34
+
35
+ - name : Go cache
36
+ uses : lynx-infra/cache@5c6160a6a4c7fca80a2f3057bb9dfc9513fcb732
37
+ if : runner.environment == 'self-hosted'
38
+ with :
39
+ key : setup-go-SH-1-${{ runner.os }}-${{ steps.install-go.outputs.go-version }}-${{ inputs.cache-name }}-${{ hashFiles('**/go.sum') }}
40
+ restore-keys : |
41
+ setup-go-SH-1-${{ runner.os }}-${{ steps.install-go.outputs.go-version }}-${{ inputs.cache-name }}-${{ hashFiles('**/go.sum') }}
42
+ path : |
43
+ ~/go/pkg/mod
44
+ ~/.cache/go-build
45
+ ~/Library/Caches/go-build
46
+ ~/AppData/Local/go-build
You can’t perform that action at this time.
0 commit comments