From 7c4ee57221c2d1176c6c7795d17911bbd22356d6 Mon Sep 17 00:00:00 2001 From: Hugo Dutka Date: Thu, 12 Mar 2026 17:31:52 +0000 Subject: [PATCH] chore(ci): build release artifacts on main --- .github/workflows/release.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d6a57e8..c388209 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,6 +2,8 @@ name: release on: push: + branches: + - main tags: - "v*" @@ -15,6 +17,7 @@ env: jobs: validate-tag: + if: startsWith(github.ref, 'refs/tags/v') runs-on: ubuntu-latest outputs: version: ${{ steps.meta.outputs.version }} @@ -31,8 +34,6 @@ jobs: echo "version=${tag_version}" >> "${GITHUB_OUTPUT}" build-release-artifacts: - needs: - - validate-tag strategy: fail-fast: false matrix: @@ -103,6 +104,7 @@ jobs: if-no-files-found: error github-release: + if: startsWith(github.ref, 'refs/tags/v') runs-on: ubuntu-latest needs: - validate-tag