We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15fcfcc commit fa78b6bCopy full SHA for fa78b6b
1 file changed
.github/workflows/release_build.yml
@@ -47,9 +47,19 @@ jobs:
47
password: ${{ secrets.GITHUB_TOKEN }}
48
49
- name: Run GoReleaser
50
+ if: startsWith(github.ref, 'refs/tags/')
51
uses: goreleaser/goreleaser-action@v7
52
with:
53
version: latest
54
args: release --clean --config .github/goreleaser.yml
55
env:
56
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
57
+
58
+ - name: Run GoReleaser (dev snapshot)
59
+ if: github.ref == 'refs/heads/dev'
60
+ uses: goreleaser/goreleaser-action@v7
61
+ with:
62
+ version: dev
63
+ args: release --snapshot --clean --config .github/goreleaser.yml
64
+ env:
65
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments