File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -76,12 +76,12 @@ jobs:
7676 # this is needed for the OIDC flow that is used with trusted publishing on PyPI
7777 id-token : write
7878 steps :
79- - name : Fail if PYPI_URL is not set
80- if : ${{ vars.PYPI_URL == '' }}
79+ - name : Fail if PYPI_HOST is not set
80+ if : ${{ vars.PYPI_HOST == '' }}
8181 shell : bash
8282 run : |
8383 env_name="${{ github.event_name == 'workflow_dispatch' && inputs.environment || 'test.pypi' }}"
84- echo "Error: vars.PYPI_URL is not set in the resolved environment (${env_name})"
84+ echo "Error: vars.PYPI_HOST is not set in the resolved environment (${env_name})"
8585 exit 1
8686
8787 - name : Authenticate With AWS
@@ -103,5 +103,5 @@ jobs:
103103 - name : Upload artifacts to PyPI
104104 uses : pypa/gh-action-pypi-publish@release/v1
105105 with :
106- repository-url : ${{ vars.PYPI_URL }}
106+ repository-url : ' https:// ${{ vars.PYPI_HOST }}/legacy/ '
107107 packages-dir : packages
You can’t perform that action at this time.
0 commit comments