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 2b41953 commit 8a8d956Copy full SHA for 8a8d956
.github/workflows/publish-to-pypi.yml
@@ -9,6 +9,8 @@ jobs:
9
build-n-publish:
10
name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI
11
runs-on: ubuntu-latest
12
+ permissions:
13
+ id-token: write
14
15
steps:
16
- uses: actions/checkout@master
@@ -35,8 +37,7 @@ jobs:
35
37
- name: Publish distribution 📦 to Test PyPI
36
38
uses: pypa/gh-action-pypi-publish@release/v1
39
with:
- password: ${{ secrets.TEST_PYPI_API_TOKEN }}
- repository_url: https://test.pypi.org/legacy/
40
+ repository-url: https://test.pypi.org/legacy/
41
- name: Publish distribution 📦 to PyPI
42
if: startsWith(github.ref, 'refs/tags')
43
0 commit comments