From f9ec25415064deb272e5664cd215f7dd31b869c0 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Tue, 7 Jan 2025 12:50:52 -1000 Subject: [PATCH] chore: avoid building wheels if a release is not made (#355) --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c6f9225..125660e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -106,6 +106,8 @@ jobs: - test - lint - commitlint + outputs: + released: ${{ steps.release.outputs.released }} steps: - uses: actions/checkout@v3 @@ -126,7 +128,7 @@ jobs: build_wheels: needs: [release] - + if: needs.release.outputs.released == 'true' name: Build wheels on ${{ matrix.os }} with arch ${{ matrix.arch }} runs-on: ${{ matrix.os }} strategy: