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
traversaro authored Nov 8, 2024
1 parent 464ef62 commit d111da5
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 @@ -165,6 +165,8 @@ jobs:
name: Publish to PyPI
needs: test
runs-on: ubuntu-latest
permissions:
id-token: write

steps:

Expand All @@ -184,6 +186,4 @@ jobs:
(github.event_name == 'release' && github.event.action == 'published'))
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
skip_existing: true

0 comments on commit d111da5

Please sign in to comment.