We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e0a57c commit 6ca4ac2Copy full SHA for 6ca4ac2
.github/workflows/on-release-main.yml
@@ -59,11 +59,16 @@ jobs:
59
mkdir -p dist
60
cp wheelhouse/*.whl dist/
61
62
- - name: Publish to PyPI
+ - name: Publish to PyPI (dry run)
63
run: |
64
poetry config pypi-token.pypi "${{ secrets.PYPI_TOKEN }}"
65
poetry publish --dry-run
66
+
67
+ - name: Publish to PyPI (release-only - push to PyPI)
68
+ run: |
69
+ poetry config pypi-token.pypi "${{ secrets.PYPI_TOKEN }}"
70
poetry publish --skip-existing
71
+ if: github.event_name == 'release'
72
73
- name: Setup tmate
74
if: failure()
0 commit comments