Skip to content

Commit

Permalink
[Fix] GitHub Actions for publishing package distributions to PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
HaiyiMei committed Apr 11, 2024
1 parent 1fde56f commit a2ec7f9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ jobs:
build-n-publish:
runs-on: ubuntu-latest
environment: release
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
if: startsWith(github.event.ref, 'refs/tags')
steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit a2ec7f9

Please sign in to comment.