Commit e924dee 1 parent fd7b034 commit e924dee Copy full SHA for e924dee
File tree 2 files changed +40
-2
lines changed
2 files changed +40
-2
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,11 @@ name: icy
2
2
3
3
on :
4
4
push :
5
- branches-ignore :
6
- - nothing-does-matter
5
+ branches :
6
+ - ' master'
7
+ tags :
8
+ - ' v*'
9
+ pull_request :
7
10
8
11
jobs :
9
12
smoke :
16
19
- name : smoke
17
20
run : |
18
21
make tests
22
+
23
+ goreleaser :
24
+ if : success()
25
+ runs-on : ubuntu-latest
26
+ steps :
27
+ - name : Checkout
28
+ uses : actions/checkout@v2
29
+ with :
30
+ fetch-depth : 0
31
+ - name : Set up Go
32
+ uses : actions/setup-go@v2
33
+ with :
34
+ go-version : 1.14
35
+ - name : Run GoReleaser
36
+ uses : goreleaser/goreleaser-action@v2
37
+ with :
38
+ version : v0.143.0
39
+ args : release --rm-dist
40
+ env :
41
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
1
+ builds :
2
+ - env :
3
+ - CGO_ENABLED=0
4
+ archives :
5
+ - replacements :
6
+ darwin : Darwin
7
+ linux : Linux
8
+ 386 : i386
9
+ amd64 : x86_64
10
+
11
+
12
+ checksum :
13
+ name_template : ' checksums.txt'
14
+ snapshot :
15
+ name_template : " {{ .Tag }}-next"
You can’t perform that action at this time.
0 commit comments