Skip to content

Commit

Permalink
Update CI/CD workflow to interface with PyPI as Trusted Publisher
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoferigo committed Jun 13, 2024
1 parent e74e24b commit d276e63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@ jobs:
name: Publish to PyPI
needs: test
runs-on: ubuntu-22.04
permissions:
id-token: write

steps:

Expand All @@ -163,6 +165,4 @@ jobs:
(github.event_name == 'release'))
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
skip-existing: true

0 comments on commit d276e63

Please sign in to comment.