From 2642ac937f8a00d96fbd197e1e97c13fc6397a4e Mon Sep 17 00:00:00 2001 From: Charlie <31941002+CharlieMc0@users.noreply.github.com> Date: Tue, 6 Aug 2024 02:36:24 -0500 Subject: [PATCH] Added goreleaser check (#2636) --- .github/workflows/publish-release.yml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index ff454a4032..3e848ff66c 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -23,7 +23,7 @@ concurrency: cancel-in-progress: false jobs: - check_branch: + check-branch: if: ${{ (startsWith(github.ref, 'refs/heads/release/v') || startsWith(github.ref, 'refs/heads/hotfix/v')) }} runs-on: ubuntu-22.04 steps: @@ -31,9 +31,18 @@ jobs: run: | echo "${{ github.ref }}" + check-goreleaser: + needs: + - check-branch + runs-on: ubuntu-22.04 + steps: + - name: Branch + run: | + make release-dry-run + check-changelog: needs: - - check_branch + - check-branch runs-on: ubuntu-22.04 steps: @@ -75,7 +84,7 @@ jobs: check-upgrade-handler-updated: needs: - - check_branch + - check-branch runs-on: ubuntu-22.04 timeout-minutes: 10 steps: @@ -114,7 +123,7 @@ jobs: needs: - check-changelog - check-upgrade-handler-updated - - check_branch + - check-branch runs-on: ubuntu-22.04 timeout-minutes: 60 environment: release