We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91d4d5b commit d25f86aCopy full SHA for d25f86a
.github/workflows/python-package.yml
@@ -13,6 +13,7 @@ jobs:
13
permissions:
14
contents: read
15
packages: write
16
+ id-token: write
17
18
steps:
19
- name: Checkout repository
@@ -35,7 +36,5 @@ jobs:
35
36
run: make build
37
38
- name: Publish to PyPI
- if: startsWith(github.ref, 'refs/tags/')
39
+ if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
40
uses: pypa/gh-action-pypi-publish@release/v1
- with:
41
- password: ${{ secrets.PYPI_API_TOKEN }}
0 commit comments