File tree Expand file tree Collapse file tree 2 files changed +32
-10
lines changed Expand file tree Collapse file tree 2 files changed +32
-10
lines changed Original file line number Diff line number Diff line change
1
+ name : goreleaser
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - " *"
7
+
8
+ permissions :
9
+ contents : write
10
+
11
+ jobs :
12
+ goreleaser :
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - name : Checkout
16
+ uses : actions/checkout@v2
17
+ with :
18
+ fetch-depth : 0
19
+ - name : Fetch all tags
20
+ run : git fetch --force --tags
21
+ - name : Set up Go
22
+ uses : actions/setup-go@v2
23
+ with :
24
+ go-version : 1.18
25
+ - name : Run GoReleaser
26
+ uses : goreleaser/goreleaser-action@v2
27
+ with :
28
+ distribution : goreleaser
29
+ version : latest
30
+ args : release --rm-dist
31
+ env :
32
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 10
10
[ ![ Vulnerabilities] ( https://sonarcloud.io/api/project_badges/measure?project=neurocode-io_cache-offloader&metric=vulnerabilities )] ( https://sonarcloud.io/dashboard?id=neurocode-io_cache-offloader )
11
11
12
12
13
- # Install
14
-
15
- pre go 1.15
16
-
17
- go get github.com/neurocode-io/
[email protected]
18
-
19
- after go 1.15
20
-
21
- go install github.com/neurocode-io/
[email protected]
22
-
23
13
24
14
# Using the service
25
15
You can’t perform that action at this time.
0 commit comments