Skip to content

Commit

Permalink
Use environment for release
Browse files Browse the repository at this point in the history
  • Loading branch information
aeisenbarth committed Jun 28, 2024
1 parent a8f65c1 commit ba38c39
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,11 @@ jobs:
name: Publish to PyPI
if: github.ref_type == 'tag'
needs: [tests, linting]
runs-on: ubuntu-latest
environment: release
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down

0 comments on commit ba38c39

Please sign in to comment.