CD.yaml
1 parent 8b6b946 commit ed0376bCopy full SHA for ed0376b
1 file changed
.github/workflows/CD.yaml
@@ -38,21 +38,21 @@ jobs:
38
uses: goreleaser/goreleaser-action@v6.4.0
39
with:
40
distribution: "goreleaser"
41
- version: "latest"
+ version: "~> v2"
42
args: check
43
- name: Check GoReleaser
44
45
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
46
47
48
49
args: release --clean --snapshot
50
- name: Run GoReleaser
51
52
if: startsWith(github.ref, 'refs/tags/')
53
54
55
56
args: release --clean
57
env:
58
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments