File tree Expand file tree Collapse file tree 3 files changed +41
-1
lines changed
Expand file tree Collapse file tree 3 files changed +41
-1
lines changed File renamed without changes.
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@v4
17+ with :
18+ fetch-depth : 0
19+ - uses : cachix/install-nix-action@v27
20+ with :
21+ github_token : ${{ secrets.GITHUB_TOKEN }}
22+ - uses : cachix/cachix-action@v15
23+ with :
24+ name : mangosql
25+ authToken : " ${{ secrets.CACHIX_AUTH_TOKEN }}"
26+ - name : Install devenv.sh
27+ run : nix profile install nixpkgs#devenv
28+ - name : Build the devenv shell and run any pre-commit hooks
29+ run : devenv test
30+ - name : Run GoReleaser
31+ uses : goreleaser/goreleaser-action@v6
32+ with :
33+ distribution : goreleaser
34+ version : ' ~> v2'
35+ args : release --clean
36+ env :
37+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -14,13 +14,16 @@ before:
1414 - go mod tidy
1515
1616builds :
17- - main : cmd/mangosql
17+ - main : cmd/mangosql/mangosql.go
1818 env :
1919 - CGO_ENABLED=0
2020 goos :
2121 - linux
2222 - windows
2323 - darwin
24+ goarch :
25+ - amd64
26+ - arm64
2427
2528archives :
2629 - format : tar.gz
You can’t perform that action at this time.
0 commit comments