Skip to content

Commit

Permalink
Publish to test TestPyPI before publishing to PyPI (#223)
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 authored Jan 17, 2025
1 parent 11754df commit fd57ce8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ jobs:
with:
name: all-dist-${{ github.run_id }}
path: dist/
- name: Publish package distributions to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
skip-existing: true
- name: Publish package distributions to PyPI
if: startsWith(inputs.dry_run, 'false')
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down Expand Up @@ -108,5 +113,4 @@ jobs:
silk_asset_group: ${{ env.SILK_ASSET_GROUP }}
evergreen_project: ${{ env.EVERGREEN_PROJECT }}
token: ${{ github.token }}
repository_url: https://test.pypi.org/legacy/
dry_run: ${{ inputs.dry_run }}

0 comments on commit fd57ce8

Please sign in to comment.