Skip to content

Commit

Permalink
Merge pull request #174 from ami-iit/diegoferigo-patch-1
Browse files Browse the repository at this point in the history
Update CI/CD workflow to interface with PyPI as Trusted Publisher
  • Loading branch information
diegoferigo committed Jun 13, 2024
2 parents e74e24b + d276e63 commit dab36e6
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 dab36e6

Please sign in to comment.