Skip to content

Commit

Permalink
Fixed trusted publishing (2)
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Maier <[email protected]>
  • Loading branch information
andy-maier committed Oct 9, 2024
1 parent 10057e1 commit dd817a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
name: Build and publish to PyPI
if: startsWith(github.ref, 'refs/tags')
runs-on: ubuntu-latest
permissions:
id-token: write
steps:

#-------- Info gathering and checks
Expand Down Expand Up @@ -168,8 +170,6 @@ jobs:
ls -l dist
- name: Publish distribution to PyPI
if: startsWith(github.ref, 'refs/tags')
permissions:
id-token: write
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: dist
Expand Down

0 comments on commit dd817a2

Please sign in to comment.