File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,11 +17,24 @@ jobs:
1717 uses : actions/checkout@v2
1818 with :
1919 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
2033 -
2134 name : Install Go
2235 uses : actions/setup-go@v2
2336 with :
24- go-version : 1.16
37+ go-version : 1.17
2538 -
2639 name : Run GoReleaser
2740 uses : goreleaser/goreleaser-action@v2
3144 args : release --rm-dist
3245 env :
3346 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:
1313 - arm64
1414 goarm :
1515 - 7
16+ tags : ['{{ if .Env.BUILD_WITH_UI }}withUI{{ else }}noUI{{ end }}']
1617 ignore :
1718 - goos : darwin
1819 goarch : 386
You can’t perform that action at this time.
0 commit comments