We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1db74fb commit 5050fe5Copy full SHA for 5050fe5
.github/workflows/pypi-publish.yml
@@ -37,7 +37,7 @@ jobs:
37
EVENT_CONTEXT: ${{ toJson(github.event) }}
38
39
- run: |
40
- echo "PYPI_URL=https://pypi.org/legacy/" >> $GITHUB_ENV
+ echo "PYPI_URL=https://upload.pypi.org/legacy/" >> $GITHUB_ENV
41
if: github.event_name == 'workflow_run' || (github.event_name == 'workflow_dispatch' && github.event.inputs.environment == 'pypi')
42
43
echo "PYPI_URL=https://test.pypi.org/legacy/" >> $GITHUB_ENV
@@ -60,4 +60,4 @@ jobs:
60
# because there's nothing that would prevent a malicious PyPI from
61
# serving a signed TestPyPI asset in place of a release intended for
62
# PyPI.
63
- attestations: ${{ env.PYPI_URL == 'https://pypi.org/legacy/' }}
+ attestations: ${{ env.PYPI_URL == 'https://upload.pypi.org/legacy/' }}
0 commit comments