Skip to content

Commit

Permalink
Fix environment for publish.
Browse files Browse the repository at this point in the history
  • Loading branch information
ast0815 committed Oct 18, 2024
1 parent 1406cbe commit a1de861
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ jobs:
dist:
runs-on: ubuntu-latest

environment: release
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write

steps:
- uses: actions/checkout@v4

Expand All @@ -37,6 +32,11 @@ jobs:
runs-on: ubuntu-latest
if: github.event_name == 'release' && github.event.action == 'published'

environment: release
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write

steps:
- uses: actions/download-artifact@v4
with:
Expand Down

0 comments on commit a1de861

Please sign in to comment.