diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 48367b1..9100332 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -138,7 +138,7 @@ jobs: uses: pypa/gh-action-pypi-publish@release/v1 with: verbose: true - repository-url: ${{ github.ref == 'refs/heads/main' && 'https://pypi.org/' || 'https://test.pypi.org/legacy/' }} + repository-url: ${{ github.ref == 'refs/heads/main' && 'https://upload.pypi.org/legacy/' || 'https://test.pypi.org/legacy/' }} smal-sdist: @@ -218,4 +218,4 @@ jobs: - name: Publish package distributions to TestPyPI uses: pypa/gh-action-pypi-publish@release/v1 with: - repository-url: ${{ github.ref == 'refs/heads/main' && 'https://pypi.org/' || 'https://test.pypi.org/legacy/' }} + repository-url: ${{ github.ref == 'refs/heads/main' && 'https://upload.pypi.org/legacy/' || 'https://test.pypi.org/legacy/' }}