File tree 2 files changed +16
-1
lines changed
2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,24 @@ jobs:
17
17
uses : actions/checkout@v2
18
18
with :
19
19
fetch-depth : 0
20
+ -
21
+ name : Install Node
22
+ uses : actions/setup-node@v2
23
+ with :
24
+ cache-dependency-path : ' ui/yarn.lock'
25
+ node-version : ' 14'
26
+ cache : ' yarn'
27
+ -
28
+ name : Build UI with Ember
29
+ working-directory : ./ui
30
+ run : |
31
+ yarn install
32
+ yarn run build
20
33
-
21
34
name : Install Go
22
35
uses : actions/setup-go@v2
23
36
with :
24
- go-version : 1.16
37
+ go-version : 1.17
25
38
-
26
39
name : Run GoReleaser
27
40
uses : goreleaser/goreleaser-action@v2
31
44
args : release --rm-dist
32
45
env :
33
46
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
47
+ BUILD_WITH_UI : true
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ builds:
13
13
- arm64
14
14
goarm :
15
15
- 7
16
+ tags : ['{{ if .Env.BUILD_WITH_UI }}withUI{{ else }}noUI{{ end }}']
16
17
ignore :
17
18
- goos : darwin
18
19
goarch : 386
You can’t perform that action at this time.
0 commit comments