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