From fc0ba521ee8b45c5b07bc5556a9b977552b40080 Mon Sep 17 00:00:00 2001 From: Kyle Barron Date: Mon, 1 Jul 2024 21:56:13 -0400 Subject: [PATCH] Build and publish wheels only on specific tags --- .github/workflows/wheels.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 54f8a31..031b349 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -10,7 +10,7 @@ on: branches: - main tags: - - "*" + - "py-core-v*" workflow_dispatch: permissions: @@ -143,7 +143,7 @@ jobs: # IMPORTANT: this permission is mandatory for trusted publishing id-token: write runs-on: ubuntu-latest - # if: "startsWith(github.ref, 'refs/tags/')" + if: "startsWith(github.ref, 'refs/tags/')" needs: [linux, windows, macos, sdist] steps: - uses: actions/download-artifact@v4