Skip to content

Commit e40cc08

Browse files
authored
Update principal-installer-dev.yml
1 parent 014dbae commit e40cc08

File tree

1 file changed

+0
-35
lines changed

1 file changed

+0
-35
lines changed

.github/workflows/principal-installer-dev.yml

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -29,42 +29,7 @@ jobs:
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

0 commit comments

Comments
 (0)