Skip to content

Commit 69a3c89

Browse files
committed
Publish to test TestPyPI before publishing to PyPI
1 parent 11754df commit 69a3c89

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/release-python.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,11 @@ jobs:
7676
with:
7777
name: all-dist-${{ github.run_id }}
7878
path: dist/
79+
- name: Publish package distributions to TestPyPI
80+
uses: pypa/gh-action-pypi-publish@release/v1
81+
with:
82+
repository-url: https://test.pypi.org/legacy/
83+
skip-existing: true
7984
- name: Publish package distributions to PyPI
8085
if: startsWith(inputs.dry_run, 'false')
8186
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)