File tree 1 file changed +18
-19
lines changed
1 file changed +18
-19
lines changed Original file line number Diff line number Diff line change 1
- name : release
2
-
3
1
on :
4
2
push :
5
3
tags :
6
- - " v* "
7
-
4
+ - ' v* '
5
+ name : release
8
6
jobs :
9
- goreleaser :
7
+ release :
10
8
runs-on : ubuntu-latest
11
9
steps :
12
- - name : Checkout
13
- uses : actions/checkout@v2
14
- - name : Unshallow
15
- run : git fetch --prune --unshallow
16
- - name : Set up Go
17
- uses : actions/setup-go@v2
18
- with :
19
- go-version : 1.14
20
- - name : Run GoReleaser
21
- uses : goreleaser/goreleaser-action@v2
22
- with :
23
- version : latest
24
- env :
25
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
10
+ - name : Install Go
11
+ uses : actions/setup-go@v1
12
+ with :
13
+ go-version : 1.14.x
14
+ - name : Checkout code
15
+ uses : actions/checkout@v2
16
+ - name : Unshallow
17
+ run : git fetch --prune --unshallow
18
+ - name : goreleaser
19
+ uses : goreleaser/goreleaser-action@v1
20
+ with :
21
+ version : latest
22
+ args : release --rm-dist
23
+ env :
24
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments