We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19cc928 commit 6b1d193Copy full SHA for 6b1d193
.github/workflows/publish-to-pypi.yml
@@ -15,6 +15,8 @@ jobs:
15
build-n-publish:
16
name: Build and publish Python 🐍 distributions 📦 to PyPI
17
runs-on: ubuntu-latest
18
+ permissions:
19
+ id-token: write # OIDC for PyPi Trusted Publisher feature
20
steps:
21
- uses: actions/checkout@v3
22
- name: Set up Python 3.10
@@ -36,6 +38,4 @@ jobs:
36
38
- name: Build a binary wheel
37
39
run: python setup.py sdist bdist_wheel
40
- name: Publish distribution 📦 to PyPI
- uses: pypa/gh-action-pypi-publish@v1.8.10
- with:
41
- password: ${{ secrets.PYPI_API_TOKEN }}
+ uses: pypa/gh-action-pypi-publish@v1.9.0
0 commit comments