Skip to content

Commit

Permalink
Try to get upload to (Test)PyPI to work (3)
Browse files Browse the repository at this point in the history
  • Loading branch information
gmloose committed Sep 5, 2024
1 parent fbea12a commit 48194d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ jobs:
if: github.event_name == 'push' # && startsWith(github.ref, 'refs/tags/v')
# alternatively, to publish when a GitHub Release is created, use the following rule:
# if: github.event_name == 'release' && github.event.action == 'published'
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- uses: actions/download-artifact@v4
with:
Expand All @@ -86,8 +88,6 @@ jobs:

- uses: pypa/[email protected]
with:
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
user: __token__
password: ${{ secrets.pypi_password }}
# To test:
Expand Down

0 comments on commit 48194d6

Please sign in to comment.