Skip to content

Commit

Permalink
Add environment and permissions to publish job
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfG committed Feb 1, 2024
1 parent ea6736e commit b47a80b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build_and_publish.yml
Expand Up @@ -68,6 +68,11 @@ jobs:
publish-to-pypi:
needs: [build-sdist, build-wheels]
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/psm-utils
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v2
with:
Expand Down

0 comments on commit b47a80b

Please sign in to comment.