release:with --snapshot for release test
This commit is contained in:
4
.github/workflows/release-build.yml
vendored
4
.github/workflows/release-build.yml
vendored
@@ -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/')
|
||||||
|
|||||||
Reference in New Issue
Block a user