We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96632fd commit 9e2c19cCopy full SHA for 9e2c19c
1 file changed
.github/workflows/release.yml
@@ -3,7 +3,7 @@ name: Release
3
on:
4
push:
5
tags:
6
- - v*
+ - "v*"
7
8
permissions:
9
contents: write
@@ -18,12 +18,18 @@ jobs:
18
19
- uses: actions/setup-go@v5
20
with:
21
- go-version: stable
+ go-version-file: go.mod
22
+ cache: true
23
- - uses: goreleaser/goreleaser-action@v6
24
+ - name: Configure Go private modules
25
+ run: git config --global url."https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/".insteadOf "https://github.com/"
26
+
27
+ - name: Run GoReleaser
28
+ uses: goreleaser/goreleaser-action@v7
29
- distribution: goreleaser
- version: latest
30
+ version: "~> v2"
31
args: release --clean
32
env:
33
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34
+ GOPRIVATE: github.com/GoCodeAlone/*
35
+ GONOSUMCHECK: github.com/GoCodeAlone/*
0 commit comments