File tree Expand file tree Collapse file tree 1 file changed +0
-35
lines changed
Expand file tree Collapse file tree 1 file changed +0
-35
lines changed Original file line number Diff line number Diff line change 2929 if : needs.check_feature.outputs.is_feature == 'true'
3030 runs-on : dev
3131 steps :
32- - name : Check out code into the right branch
33- uses : actions/checkout@v4
34- with :
35- ref : ${{ github.event.workflow_run.head_branch }}
36-
37- - name : Set up Go 1.x
38- uses : actions/setup-go@v5
39- with :
40- go-version : ^1.20
41- id : go
42-
43- - name : Get dependencies
44- working-directory : ./installer
45- run : |
46- go get -v -t -d ./...
47- if [ -f Gopkg.toml ]; then
48- curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
49- dep ensure
50- fi
51-
52- - name : Test
53- working-directory : ./installer
54- run : go test -v .
55-
56- - name : Build
57- working-directory : ./installer
58- env :
59- GOOS : linux
60- GOARCH : amd64
61- run : |
62- go build -o installer -v .
63- mv installer /home/utmstack/installer
64- chmod +x /home/utmstack/installer
65-
6632 - name : Run
67- id : run_installer
6833 working-directory : /home/utmstack
6934 run : |
7035 sudo ./installer
You can’t perform that action at this time.
0 commit comments