mirror of
https://github.com/nadoo/glider.git
synced 2025-02-23 01:15:41 +08:00
goreleaser: remove deprecated options
This commit is contained in:
parent
7e800555d7
commit
6815f866cb
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -42,7 +42,7 @@ jobs:
|
|||||||
if: "!startsWith(github.ref, 'refs/tags/')"
|
if: "!startsWith(github.ref, 'refs/tags/')"
|
||||||
with:
|
with:
|
||||||
version: latest
|
version: latest
|
||||||
args: build --snapshot --rm-dist
|
args: build --snapshot --clean
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
@ -66,7 +66,7 @@ jobs:
|
|||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
if: "!startsWith(github.ref, 'refs/tags/')"
|
if: "!startsWith(github.ref, 'refs/tags/')"
|
||||||
with:
|
with:
|
||||||
name: ${{ env.APP_NAME }}-dev-${{ env.SHA_SHORT }}-macos-arm64
|
name: ${{ env.APP_NAME }}-dev-${{ env.SHA_SHORT }}-darwin-arm64
|
||||||
path: |
|
path: |
|
||||||
./dist/default_darwin_arm64/${{ env.APP_NAME }}
|
./dist/default_darwin_arm64/${{ env.APP_NAME }}
|
||||||
|
|
||||||
@ -83,7 +83,7 @@ jobs:
|
|||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
with:
|
with:
|
||||||
version: latest
|
version: latest
|
||||||
args: release --rm-dist
|
args: release --clean
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
@ -35,8 +35,6 @@ archives:
|
|||||||
- id: default
|
- id: default
|
||||||
builds:
|
builds:
|
||||||
- default
|
- default
|
||||||
replacements:
|
|
||||||
darwin: macos
|
|
||||||
wrap_in_directory: true
|
wrap_in_directory: true
|
||||||
format: tar.gz
|
format: tar.gz
|
||||||
format_overrides:
|
format_overrides:
|
||||||
|
Loading…
Reference in New Issue
Block a user