Skip to content

Commit 5050fe5

Browse files
authored
1 parent 1db74fb commit 5050fe5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pypi-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
EVENT_CONTEXT: ${{ toJson(github.event) }}
3838

3939
- run: |
40-
echo "PYPI_URL=https://pypi.org/legacy/" >> $GITHUB_ENV
40+
echo "PYPI_URL=https://upload.pypi.org/legacy/" >> $GITHUB_ENV
4141
if: github.event_name == 'workflow_run' || (github.event_name == 'workflow_dispatch' && github.event.inputs.environment == 'pypi')
4242
- run: |
4343
echo "PYPI_URL=https://test.pypi.org/legacy/" >> $GITHUB_ENV
@@ -60,4 +60,4 @@ jobs:
6060
# because there's nothing that would prevent a malicious PyPI from
6161
# serving a signed TestPyPI asset in place of a release intended for
6262
# PyPI.
63-
attestations: ${{ env.PYPI_URL == 'https://pypi.org/legacy/' }}
63+
attestations: ${{ env.PYPI_URL == 'https://upload.pypi.org/legacy/' }}

0 commit comments

Comments
 (0)