File tree 3 files changed +8
-5
lines changed
3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 9
9
10
10
jobs :
11
11
build :
12
- runs-on : ubuntu-latest
12
+ runs-on : ubuntu-20.04
13
13
14
14
env :
15
- GO_VERSION : 1.15 .x
15
+ GO_VERSION : 1.16 .x
16
16
17
17
steps :
18
18
- name : Setup Go
Original file line number Diff line number Diff line change 9
9
10
10
jobs :
11
11
docs :
12
- runs-on : ubuntu-latest
12
+ runs-on : ubuntu-20.04
13
13
14
14
env :
15
15
DOCS_REPO : netsoc/docs
Original file line number Diff line number Diff line change 9
9
release :
10
10
runs-on : ubuntu-latest
11
11
12
+ env :
13
+ RELEASE_NAME : cli
14
+
12
15
steps :
13
16
- name : Checkout code
14
17
uses : actions/checkout@v2
26
29
- name : Cross compile with xgo
27
30
uses : crazy-max/ghaction-xgo@v1
28
31
with :
29
- go_version : 1.15 .x
32
+ go_version : 1.16 .x
30
33
pkg : cmd/netsoc
31
34
dest : bin
32
35
ldflags : ' -X github.com/netsoc/cli/version.Version=v${{ steps.vars.outputs.version }}'
38
41
GITHUB_TOKEN : ' ${{ secrets.GITHUB_TOKEN }}'
39
42
with :
40
43
tag_name : ${{ github.ref }}
41
- release_name : Release ${{ steps.vars.outputs.version }}
44
+ release_name : ${{ env.RELEASE_NAME }} ${{ steps.vars.outputs.version }}
42
45
body_path : release.md
43
46
44
47
- name : Upload binaries to release
You can’t perform that action at this time.
0 commit comments