release:with --snapshot for release test

This commit is contained in:
luoliwoshang
2025-09-03 15:04:08 +08:00
parent 0ff2d5d931
commit 77a7d9e549

View File

@@ -59,14 +59,14 @@ jobs:
-v $(pwd):/go/src/llgo \
-w /go/src/llgo \
ghcr.io/goreleaser/goreleaser-cross:v1.22 \
release --skip=publish,nfpm,snapcraft --clean
release --skip=publish,nfpm,snapcraft --snapshot --clean
- name: Upload Build Artifacts
uses: actions/upload-artifact@v4
with:
name: llgo-build-artifacts
path: dist
retention-days: 7
retention-days: 3
- name: Run GoReleaser (Release)
if: startsWith(github.ref, 'refs/tags/')