diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index e3f09ee..a3bf62d 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -46,11 +46,19 @@ jobs: registry: ghcr.io username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.GITHUB_TOKEN }} - - uses: "goreleaser/goreleaser-action@v4.4.0" - with: - version: nightly - args: release --clean --timeout 60m + - name: Setup GoReleaser nightly from source + run: go install github.com/goreleaser/goreleaser@main + - name: Run GoReleaser + run: goreleaser 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 }}