Skip to content

Commit 99ff060

Browse files
committed
update publish_pypi.yml
1 parent f9684c0 commit 99ff060

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/publish_pypi.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,8 @@ jobs:
3434
- name: Build package
3535
run: python -m build
3636

37-
# 5. Publish the package to PyPI using the API token stored in the repository secrets
38-
- name: Publish package to PyPI
37+
# 5. Publish the package to PyPI through OICD
38+
- name: Upload to PyPI through OIDC
3939
uses: pypa/gh-action-pypi-publish@release/v1
4040
with:
41-
user: __token__ # Standard username for token‑based uploads
42-
password: ${{ secrets.PYPI_API_TOKEN }} # API token scoped to the PyPI project
41+
attestations: true

0 commit comments

Comments
 (0)