From adb6b44ac5f26ab9f5cde7d9c21b68ce2b03d9ea Mon Sep 17 00:00:00 2001 From: winjeg Date: Fri, 29 Mar 2024 17:17:11 +0800 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 27c8ba8..76c9380 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,6 +3,8 @@ on: push: tags: - 'v*.*.*' +permissions: + contents: write jobs: # job's id release: @@ -20,7 +22,6 @@ jobs: uses: goreleaser/goreleaser-action@master with: version: latest - args: release --rm-dist - workdir: . + args: release --clean env: GITHUB_TOKEN: ${{ secrets.GEN_TOKEN }}