diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 7a447f1..6c85c7b 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -46,19 +46,11 @@ jobs: registry: ghcr.io username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Setup GoReleaser nightly from source - run: go install github.com/goreleaser/goreleaser@962429de067b3f6cde8d377beaf3194b3b258075 - - name: Run GoReleaser - run: goreleaser release --clean --timeout 60m + - uses: "goreleaser/goreleaser-action@v6.0.0" + with: + version: "~> 2" + args: release --clean --timeout 60m env: GITHUB_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }} GORELEASER_CURRENT_TAG: ${{ steps.get_version.outputs.release_version }} GORELEASER_PREVIOUS_TAG: ${{ steps.get_version.outputs.previous_tag }} - # - uses: "goreleaser/goreleaser-action@v4.4.0" - # with: - # version: nightly - # args: release --clean --timeout 60m - # env: - # GITHUB_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }} - # GORELEASER_CURRENT_TAG: ${{ steps.get_version.outputs.release_version }} - # GORELEASER_PREVIOUS_TAG: ${{ steps.get_version.outputs.previous_tag }}