We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 064e1ad + a9ba9b6 commit bdb87c8Copy full SHA for bdb87c8
.github/workflows/CI.yml
@@ -443,7 +443,7 @@ jobs:
443
steps:
444
- uses: actions/download-artifact@v4
445
with:
446
- pattern: wheel-*
+ pattern: wheels-*
447
path: dist
448
merge-multiple: true
449
@@ -453,7 +453,7 @@ jobs:
453
subject-path: dist/*
454
455
- name: Publish to PyPI
456
- if: ${{ startsWith(github.ref, 'refs/tags/') }}
+ if: ${{ startsWith(github.ref, 'refs/tags/') }} || (github.event_name == 'workflow_dispatch' && github.event.inputs.test_release)
457
uses: PyO3/maturin-action@v1
458
env:
459
MATURIN_PYPI_TOKEN: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.test_release && secrets.TEST_PYPI_API_TOKEN || secrets.POETRY_PYPI_TOKEN_PYPI }}
0 commit comments