File tree Expand file tree Collapse file tree 1 file changed +10
-15
lines changed Expand file tree Collapse file tree 1 file changed +10
-15
lines changed Original file line number Diff line number Diff line change 1
- name : goreleaser
2
-
3
1
on :
4
2
push :
5
3
tags :
6
4
- ' *'
7
-
5
+ name : Release
8
6
jobs :
9
7
goreleaser :
10
8
runs-on : ubuntu-latest
11
9
steps :
12
- - uses : actions/cache@v2
13
- with :
14
- path : ~/go/pkg/mod
15
- key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
16
- restore-keys : |
17
- ${{ runner.os }}-go-
18
- -
19
- name : Checkout
10
+ - uses : actions/cache@v2
11
+ with :
12
+ path : ~/go/pkg/mod
13
+ key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
14
+ restore-keys : |
15
+ ${{ runner.os }}-go-
16
+ - name : Checkout
20
17
uses : actions/checkout@v2
21
18
with :
22
19
fetch-depth : 0
23
- -
24
- name : Set up Go
20
+ - name : Set up Go
25
21
uses : actions/setup-go@v2
26
22
with :
27
23
go-version : 1.14.4
28
- -
29
- name : Run GoReleaser
24
+ - name : Run GoReleaser
30
25
uses : goreleaser/goreleaser-action@v2
31
26
with :
32
27
version : latest
You can’t perform that action at this time.
0 commit comments