From d8b6fa3f6c26765f4805b94268f3fa558bffa3b5 Mon Sep 17 00:00:00 2001 From: Silia Taider Date: Wed, 10 Jun 2026 15:21:01 +0200 Subject: [PATCH] [ci][wheel] Upload the wheels only if tests pass --- .github/workflows/python_wheel_build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python_wheel_build.yml b/.github/workflows/python_wheel_build.yml index bfa6db5eacd91..a3e980f66cc5c 100644 --- a/.github/workflows/python_wheel_build.yml +++ b/.github/workflows/python_wheel_build.yml @@ -79,7 +79,7 @@ jobs: create-and-upload-wheel-registry: if: github.event_name != 'pull_request' # The secrets are not available in PR - needs: build-wheels + needs: test-wheels runs-on: ubuntu-latest steps: @@ -127,7 +127,7 @@ jobs: publish-to-pypi: if: github.event_name == 'workflow_dispatch' - needs: build-wheels + needs: test-wheels runs-on: ubuntu-latest name: >- Publish Python distribution to PyPI