We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9684c0 commit 99ff060Copy full SHA for 99ff060
.github/workflows/publish_pypi.yml
@@ -34,9 +34,8 @@ jobs:
34
- name: Build package
35
run: python -m build
36
37
- # 5. Publish the package to PyPI using the API token stored in the repository secrets
38
- - name: Publish package to PyPI
+ # 5. Publish the package to PyPI through OICD
+ - name: Upload to PyPI through OIDC
39
uses: pypa/gh-action-pypi-publish@release/v1
40
with:
41
- user: __token__ # Standard username for token‑based uploads
42
- password: ${{ secrets.PYPI_API_TOKEN }} # API token scoped to the PyPI project
+ attestations: true
0 commit comments