Skip to content

Commit

Permalink
Update python-publish.yml
Browse files Browse the repository at this point in the history
Add write permission and environment
  • Loading branch information
nukularrr committed Jul 7, 2023
1 parent 75c9c15 commit 85b4936
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ permissions:
contents: read

jobs:
deploy:

python-publish:
name: Upload release to PyPI
runs-on: ubuntu-latest

environment: python-publish
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- uses: actions/checkout@v3
- name: Set up Python
Expand Down

0 comments on commit 85b4936

Please sign in to comment.