Skip to content

Commit

Permalink
fix: tweak pypi publishing config
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmcl committed Feb 12, 2025
1 parent 362e218 commit 50b768e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ jobs:
if: startsWith(github.ref, 'refs/tags/') # only publish to pypi on tag pushes
runs-on: ubuntu-latest

# The `environment` just restricts the scope of trusted publishing. You
# add this to the things you trust in the pypi UI.
environment:
name: testpypi

Expand Down Expand Up @@ -121,6 +123,8 @@ jobs:
if: startsWith(github.ref, 'refs/tags/') # only publish to pypi on tag pushes
runs-on: ubuntu-latest

# The `environment` just restricts the scope of trusted publishing. You
# add this to the things you trust in the pypi UI.
environment:
name: pypi

Expand Down Expand Up @@ -150,5 +154,4 @@ jobs:
- name: Publish distribution 📦 to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
verbose: true

0 comments on commit 50b768e

Please sign in to comment.