Skip to content

Commit 624f861

Browse files
committed
[ci][wheel] Upload the wheels only if tests pass
1 parent 917096a commit 624f861

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/python_wheel_build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
8080
create-and-upload-wheel-registry:
8181
if: github.event_name != 'pull_request' # The secrets are not available in PR
82-
needs: build-wheels
82+
needs: test-wheels
8383
runs-on: ubuntu-latest
8484
steps:
8585

@@ -127,7 +127,7 @@ jobs:
127127
128128
publish-to-pypi:
129129
if: github.event_name == 'workflow_dispatch'
130-
needs: build-wheels
130+
needs: test-wheels
131131
runs-on: ubuntu-latest
132132
name: >-
133133
Publish Python distribution to PyPI

0 commit comments

Comments
 (0)