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
|
uses: goreleaser/goreleaser-action@v7
|
||||||
if: "!startsWith(github.ref, 'refs/tags/')"
|
if: "!startsWith(github.ref, 'refs/tags/')"
|
||||||
with:
|
with:
|
||||||
args: release --clean
|
args: build --snapshot --clean
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
@ -56,13 +56,13 @@ jobs:
|
|||||||
./dist/default_darwin_arm64/${{ env.APP_NAME }}
|
./dist/default_darwin_arm64/${{ env.APP_NAME }}
|
||||||
./dist/default_windows_amd64_v1/${{ env.APP_NAME }}.exe
|
./dist/default_windows_amd64_v1/${{ env.APP_NAME }}.exe
|
||||||
|
|
||||||
# - name: Release
|
- name: Release
|
||||||
# uses: goreleaser/goreleaser-action@v6
|
uses: goreleaser/goreleaser-action@v6
|
||||||
# if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
# with:
|
with:
|
||||||
# args: release --clean
|
args: release --clean
|
||||||
# env:
|
env:
|
||||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
# - name: Docker - Set up Buildx
|
# - name: Docker - Set up Buildx
|
||||||
# id: buildx
|
# id: buildx
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user