File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -157,13 +157,23 @@ jobs:
157
157
echo "DIST=nginx-ui-$_NAME" >> $GITHUB_ENV
158
158
echo "ARTIFACT=$_ARTIFACT" >> $GITHUB_ENV
159
159
160
- - name : Setup go caches
160
+ - name : Setup Go modules cache
161
161
uses : actions/cache@v4
162
162
with :
163
163
path : |
164
164
~/go/pkg/mod
165
+ key : go-${{ runner.os }}-${{ runner.arch }}-mod-${{ hashFiles('go.mod') }}
166
+ restore-keys : |
167
+ go-${{ runner.os }}-${{ runner.arch }}-mod-
168
+
169
+ - name : Setup Go build cache
170
+ uses : actions/cache@v4
171
+ with :
172
+ path : |
165
173
~/.cache/go-build
166
174
key : go-${{ runner.os }}-${{ runner.arch }}-${{ env.CACHE_NAME }}-${{ hashFiles('go.mod') }}
175
+ restore-keys : |
176
+ go-${{ runner.os }}-${{ runner.arch }}-${{ env.CACHE_NAME }}-
167
177
168
178
- name : Download app artifacts
169
179
uses : actions/download-artifact@v4
You can’t perform that action at this time.
0 commit comments