Skip to content

Commit

Permalink
Merge pull request #44 from icub-tech-iit/traversaro-patch-1
Browse files Browse the repository at this point in the history
Fix pypi-publish action release name and Actions parameters
  • Loading branch information
Nicogene authored Oct 31, 2024
2 parents e7dc050 + bf7b519 commit 5e92615
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/pypi-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ jobs:
runs-on: ubuntu-24.04
needs: [build_wheels]
if: startsWith(github.ref, 'refs/tags')
# Specifying a GitHub environment is optional, but strongly encouraged
environment: release
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
Expand All @@ -54,6 +59,4 @@ jobs:
path: dist

- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 5e92615

Please sign in to comment.