From f8b2bac1d5da58e85a223dfa9d4c1f20ebd30e2d Mon Sep 17 00:00:00 2001 From: Amitayush Thakur Date: Sun, 9 Feb 2025 02:59:52 -0600 Subject: [PATCH] Fixed the publish actions to use the pypi token --- .github/workflows/github-publish-actions.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/github-publish-actions.yaml b/.github/workflows/github-publish-actions.yaml index 818ee6c..b40dd99 100644 --- a/.github/workflows/github-publish-actions.yaml +++ b/.github/workflows/github-publish-actions.yaml @@ -32,7 +32,8 @@ jobs: - name: Build package run: python -m build - - name: Publish package to PyPI via OIDC + - name: Publish to PyPI uses: pypa/gh-action-pypi-publish@v1.5.0 - # Do not specify the `pypi-token` input so that the action uses OIDC authentication. - # If you need to debug, you can set a token via secrets, but for OIDC leave it out. + with: + user: __token__ + password: ${{ secrets.PYPI_API_TOKEN }}