Skip to content

Commit

Permalink
Update pub-pypi.yml to use OIDC pypi trust
Browse files Browse the repository at this point in the history
  • Loading branch information
natm authored Mar 4, 2024
1 parent 43ff9fd commit 6edfc93
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/pub-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:
build-n-publish:
name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI
runs-on: ubuntu-latest
environment: release
steps:
- uses: actions/checkout@main
- name: Set up Python 3.7
Expand All @@ -30,6 +31,3 @@ jobs:
.
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 6edfc93

Please sign in to comment.