File tree 2 files changed +43
-0
lines changed
2 files changed +43
-0
lines changed Original file line number Diff line number Diff line change @@ -323,6 +323,17 @@ jobs:
323
323
with :
324
324
install-only : true
325
325
326
+ - name : Cache Node
327
+ id : cache-node
328
+ uses : actions/cache@v3
329
+ with :
330
+ path : |
331
+ **/node_modules
332
+ .eslintcache
333
+ key : js-${{ runner.os }}-test-${{ hashFiles('**/yarn.lock') }}
334
+ restore-keys : |
335
+ js-${{ runner.os }}-
336
+
326
337
- name : Build Release
327
338
run : make release
328
339
Original file line number Diff line number Diff line change 14
14
with :
15
15
go-version : " ~1.18"
16
16
17
+ - name : Echo Go Cache Paths
18
+ id : go-cache-paths
19
+ run : |
20
+ echo "::set-output name=go-build::$(go env GOCACHE)"
21
+ echo "::set-output name=go-mod::$(go env GOMODCACHE)"
22
+
23
+ - name : Go Build Cache
24
+ uses : actions/cache@v3
25
+ with :
26
+ path : ${{ steps.go-cache-paths.outputs.go-build }}
27
+ key : ${{ runner.os }}-release-go-build-${{ hashFiles('**/go.sum') }}
28
+
29
+ - name : Go Mod Cache
30
+ uses : actions/cache@v3
31
+ with :
32
+ path : ${{ steps.go-cache-paths.outputs.go-mod }}
33
+ key : ${{ runner.os }}-release-go-mod-${{ hashFiles('**/go.sum') }}
34
+
35
+ - name : Cache Node
36
+ id : cache-node
37
+ uses : actions/cache@v3
38
+ with :
39
+ path : |
40
+ **/node_modules
41
+ .eslintcache
42
+ key : js-${{ runner.os }}-test-${{ hashFiles('**/yarn.lock') }}
43
+ restore-keys : |
44
+ js-${{ runner.os }}-
45
+
46
+ - name : Build Site
47
+ run : make site/out
48
+
17
49
- name : Run GoReleaser
18
50
uses : goreleaser/goreleaser-action@v2.9.1
19
51
with :
You can’t perform that action at this time.
0 commit comments