From 7334c802ad3976aa1f7b1919748a069b032ea305 Mon Sep 17 00:00:00 2001 From: Henrique Santos <118177985+hcsa73@users.noreply.github.com> Date: Fri, 13 Oct 2023 15:38:36 +0100 Subject: [PATCH] Changes to release workflow (#83) * Add workflow_dispatch trigger * Remove branch check --------- Co-authored-by: Henrique Santos --- .github/workflows/release.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index bb50d562..7f220d07 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -7,6 +7,7 @@ on: push: tags: - "v*" + workflow_dispatch: # Releases need permissions to read and write the repository contents. # GitHub considers creating releases and uploading assets as writing contents. @@ -17,9 +18,6 @@ jobs: goreleaser: runs-on: ubuntu-latest steps: - - name: Check if tag belongs to main branch - if: endsWith(github.ref, 'main') == false - run: exit -1 - uses: actions/checkout@v4 with: # Allow goreleaser to access older tag information.