We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44fedf9 commit 91736c6Copy full SHA for 91736c6
.github/workflows/main.yml
@@ -48,12 +48,12 @@ jobs:
48
runs-on: ubuntu-latest
49
permissions:
50
contents: read
51
+ id-token: write
52
steps:
53
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
54
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
55
- uses: casperdcl/deploy-pypi@928e3123266d588b46c017228f9a9d4c13ad4c93 # v2.5.0
56
with:
- password: ${{ secrets.PYPI_TOKEN }}
57
build: true
58
# only upload if a tag is pushed (otherwise just build & check)
59
upload: ${{ github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') }}
0 commit comments