mirror of
https://github.com/nadoo/glider.git
synced 2026-05-15 22:40:10 +08:00
build: update goreleaser action to use build with snapshot and clean args
This commit is contained in:
parent
3f35af5fba
commit
ae56f95b24
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
@ -41,7 +41,7 @@ jobs:
|
||||
uses: goreleaser/goreleaser-action@v7
|
||||
if: "!startsWith(github.ref, 'refs/tags/')"
|
||||
with:
|
||||
args: release --clean
|
||||
args: build --snapshot --clean
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
@ -56,13 +56,13 @@ jobs:
|
||||
./dist/default_darwin_arm64/${{ env.APP_NAME }}
|
||||
./dist/default_windows_amd64_v1/${{ env.APP_NAME }}.exe
|
||||
|
||||
# - name: Release
|
||||
# uses: goreleaser/goreleaser-action@v6
|
||||
# if: startsWith(github.ref, 'refs/tags/')
|
||||
# with:
|
||||
# args: release --clean
|
||||
# env:
|
||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Release
|
||||
uses: goreleaser/goreleaser-action@v6
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
with:
|
||||
args: release --clean
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
# - name: Docker - Set up Buildx
|
||||
# id: buildx
|
||||
|
||||
Loading…
Reference in New Issue
Block a user