This repository was archived by the owner on Nov 14, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +56
-0
lines changed Expand file tree Collapse file tree 3 files changed +56
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Release
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - ' *'
7
+
8
+ permissions :
9
+ actions : none
10
+ checks : none
11
+ contents : write
12
+ deployments : none
13
+ issues : none
14
+ packages : none
15
+ pull-requests : none
16
+ repository-projects : none
17
+ security-events : none
18
+ statuses : none
19
+
20
+ jobs :
21
+ goreleaser :
22
+ runs-on : ubuntu-latest
23
+ steps :
24
+ -
25
+ name : Checkout
26
+ uses : actions/checkout@v2
27
+ with :
28
+ fetch-depth : 0
29
+ -
30
+ name : Set up Go
31
+ uses : actions/setup-go@v2
32
+ with :
33
+ go-version : 1.17
34
+ -
35
+ name : Run GoReleaser
36
+ uses : goreleaser/goreleaser-action@v2
37
+ with :
38
+ # either 'goreleaser' (default) or 'goreleaser-pro'
39
+ distribution : goreleaser
40
+ version : latest
41
+ args : release --rm-dist
42
+ env :
43
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
44
+ # Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution
45
+ # GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
Original file line number Diff line number Diff line change
1
+ dist /
Original file line number Diff line number Diff line change
1
+ project_name : coder-doctor
2
+ builds :
3
+ - env : [CGO_ENABLED=0]
4
+ goos :
5
+ - linux
6
+ - windows
7
+ - darwin
8
+ goarch :
9
+ - amd64
10
+ - arm64
You can’t perform that action at this time.
0 commit comments