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