Skip to content

Commit

Permalink
Add environment and url for publish package
Browse files Browse the repository at this point in the history
  • Loading branch information
zmievsa committed Oct 4, 2024
1 parent 4d91c6c commit 0cc2bc4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:
runs-on: ubuntu-latest
permissions:
id-token: write
environment:
name: pypi
url: https://pypi.org/p/cadwyn
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes

steps:
Expand Down

0 comments on commit 0cc2bc4

Please sign in to comment.