File tree Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change 16
16
tags :
17
17
# this pipeline supports RC pre releases
18
18
- " v[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+"
19
+
19
20
jobs :
20
21
build-web :
21
22
name : build web
27
28
uses : actions/setup-node@v3
28
29
with :
29
30
node-version : 16
30
- cache : npm
31
- cache-dependency-path : web/package-lock.json
32
- - name : Cache Build
33
- id : cache-build
34
- uses : actions/cache@v3
35
- with :
36
- path : web/build/
37
- key : web-build-${{ hashFiles('web/*') }}
38
31
- run : cd web; npm ci
39
- if : steps.cache-build.outputs.cache-hit != 'true'
40
32
- run : cd web; CI= npm run build
41
- if : steps.cache-build.outputs.cache-hit != 'true'
42
33
- name : Upload assets
43
34
uses : actions/upload-artifact@v3
44
35
with :
69
60
uses : actions/setup-go@v3
70
61
with :
71
62
go-version-file : " go.mod"
72
- cache : true
73
- cache-dependency-path : " go.mod"
74
63
75
64
- uses : actions/download-artifact@v3
76
65
with :
79
68
80
69
# release
81
70
- uses : goreleaser/goreleaser-action@v4
82
- if : steps.cache.outputs.cache-hit != 'true'
83
71
with :
84
72
distribution : goreleaser-pro
85
73
version : v2.0.1
You can’t perform that action at this time.
0 commit comments