From 19c5ef540b58705c332dd4fa3cd673f15f0f4549 Mon Sep 17 00:00:00 2001 From: slominskir Date: Thu, 13 Jun 2024 11:46:11 -0400 Subject: [PATCH] Rollback to legacy token access https://github.com/JeffersonLab/python-workflows/issues/1 --- .github/workflows/pypi-publish.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pypi-publish.yaml b/.github/workflows/pypi-publish.yaml index 92e283e..5a0194b 100644 --- a/.github/workflows/pypi-publish.yaml +++ b/.github/workflows/pypi-publish.yaml @@ -2,13 +2,13 @@ name: PyPi Publish on: workflow_call: + secrets: + PYPI_API_TOKEN: + required: true jobs: publish: runs-on: ubuntu-latest - environment: release - permissions: - id-token: write steps: - uses: actions/checkout@v4 - name: Set up Python @@ -23,3 +23,5 @@ jobs: run: | python -m build - uses: pypa/gh-action-pypi-publish@release/v1 + with: + password: ${{ secrets.PYPI_API_TOKEN }}