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 1010[ ![ Vulnerabilities] ( https://sonarcloud.io/api/project_badges/measure?project=neurocode-io_cache-offloader&metric=vulnerabilities )] ( https://sonarcloud.io/dashboard?id=neurocode-io_cache-offloader )
1111
1212
13- # Install
14-
15- pre go 1.15
16-
17- go get github.com/neurocode-io/cache-offloader@v0.1.1
18-
19- after go 1.15
20-
21- go install github.com/neurocode-io/cache-offloader@v0.1.1
22-
2313
2414# Using the service
2515
You can’t perform that action at this time.
0 commit comments