Skip to content

Commit

Permalink
chore: allow CI to read PyPI token
Browse files Browse the repository at this point in the history
  • Loading branch information
standard3 committed Jun 30, 2024
1 parent a236411 commit 8422afe
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name: build & release
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branch: [main, master]
branch: main
tags:
- 'v*'

Expand All @@ -22,6 +22,10 @@ jobs:
matrix:
python-versions: ['3.10']

# authorize job to read secrets
permissions:
id-token: write

# map step outputs to job outputs so they can be share among jobs
outputs:
package_version: ${{ steps.variables_step.outputs.package_version }}
Expand Down

0 comments on commit 8422afe

Please sign in to comment.