From 19336641f6be6fe700bc81e8a282de49949c1fff Mon Sep 17 00:00:00 2001 From: yiplee Date: Mon, 26 Sep 2022 13:59:02 +0800 Subject: [PATCH] fix: use gorelease github action --- .github/workflows/release.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8ecc7bd..af7e9a0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,7 +22,9 @@ jobs: - name: "Docker login" run: docker login ghcr.io -u docker -p ${{ secrets.GITHUB_TOKEN }} - - name: Release - run: goreleaser --rm-dist + - uses: goreleaser/goreleaser-action@v2 + with: + version: latest + args: release --rm-dist env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}