From cc64f183e1a5bad21ff635cdd5e8505b0f62f0f4 Mon Sep 17 00:00:00 2001 From: Markus Merklinger Date: Tue, 9 Jan 2024 16:38:06 +0100 Subject: [PATCH] Change PyPI repository url --- .github/workflows/cd-pypi.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cd-pypi.yaml b/.github/workflows/cd-pypi.yaml index 97fdd861..13579574 100644 --- a/.github/workflows/cd-pypi.yaml +++ b/.github/workflows/cd-pypi.yaml @@ -57,6 +57,7 @@ jobs: needs: build env: POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }} + POETRY_PYPI_URL: https://upload.pypi.org/legacy/ steps: - name: Checkout repository uses: actions/checkout@v3 @@ -70,6 +71,6 @@ jobs: apt update apt install -y python3-poetry - name: Configure PyPI repository - run: poetry config repositories.pypi https://pypi.org/legacy/ + run: poetry config repositories.pypi $POETRY_PYPI_URL - name: Publish release run: poetry publish -r pypi