From 46bcce84793a0ff03d4a104228243b23414c2717 Mon Sep 17 00:00:00 2001 From: Thomas Kosiewski Date: Thu, 7 Sep 2023 11:43:10 +0200 Subject: [PATCH] Actions use goreleaser nightly from source Signed-off-by: Thomas Kosiewski --- .github/workflows/release.yaml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) 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 }}