Skip to content

Commit

Permalink
update gorelease deprecated arg
Browse files Browse the repository at this point in the history
  • Loading branch information
nvanthao committed Jul 10, 2024
1 parent 6fca68c commit 7cfd4eb
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,26 @@ name: deploy
on:
push:
tags:
- "v*.*.*"
- "v*.*.*"

jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Checkout
uses: actions/checkout@v4

- name: Unshallow
run: git fetch --prune --unshallow
- name: Unshallow
run: git fetch --prune --unshallow

- uses: actions/setup-go@v5
with:
go-version: "1.21"
- uses: actions/setup-go@v5
with:
go-version: "1.21"

- name: Run GoReleaser
uses: goreleaser/[email protected]
with:
version: latest
args: release --rm-dist --config deploy/.goreleaser.yaml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run GoReleaser
uses: goreleaser/[email protected]
with:
version: latest
args: release --clean --config deploy/.goreleaser.yaml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 7cfd4eb

Please sign in to comment.