File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ commands:
70
70
- restore_cache :
71
71
name : Restore Go modules cache
72
72
keys :
73
- - go-mod-{{ arch }}-{{ checksum "<< parameters.from >>" }}
73
+ - go-mod-{{ arch }}-{{ checksum "<< parameters.from >>" }}-v1
74
74
- run :
75
75
name : Download Go modules
76
76
command : go mod download
@@ -79,7 +79,7 @@ commands:
79
79
command : go env GOMODCACHE
80
80
- steps : << parameters.after_download >>
81
81
- save_cache :
82
- key : go-mod-{{ arch }}-{{ checksum "<< parameters.from >>" }}
82
+ key : go-mod-{{ arch }}-{{ checksum "<< parameters.from >>" }}-v1
83
83
paths :
84
84
- << parameters.path >>
85
85
@@ -101,12 +101,12 @@ commands:
101
101
- restore_cache :
102
102
name : Restore Go build cache
103
103
keys :
104
- - go-build-{{ arch }}-{{ checksum "<< parameters.from >>" }}
104
+ - go-build-{{ arch }}-{{ checksum "<< parameters.from >>" }}-v1-{{ epoch | round "72h" }}
105
105
- steps : << parameters.steps >>
106
106
- save_cache :
107
107
paths :
108
108
- << parameters.path >>
109
- key : go-build-{{ arch }}-{{ checksum "<< parameters.from >>" }}-{{ epoch | round "72h" }}
109
+ key : go-build-{{ arch }}-{{ checksum "<< parameters.from >>" }}-v1- {{ epoch | round "72h" }}
110
110
111
111
checkout-with-monorepo :
112
112
steps :
You can’t perform that action at this time.
0 commit comments