From 46a5b1988b3f4a813f5347378112617fa26c9062 Mon Sep 17 00:00:00 2001 From: Jianyun Date: Fri, 13 Dec 2024 13:02:20 +0800 Subject: [PATCH] fix goreleaser --- .github/workflows/release.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 93dbc73..50941a4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,19 +10,16 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Go - uses: actions/setup-go@v3 - with: - go-version: '1.19' - check-latest: true + uses: actions/setup-go@v5 - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v3 + uses: goreleaser/goreleaser-action@v6 with: distribution: goreleaser version: latest - args: release --rm-dist + args: release --clean env: GITHUB_TOKEN: ${{ secrets.DEPLOY_TOKEN }} \ No newline at end of file