From 4b2ee56fddee80a4a22f72fc7d4dd64cc59ca494 Mon Sep 17 00:00:00 2001 From: Hannes Vogt Date: Wed, 20 May 2026 13:24:05 +0200 Subject: [PATCH] CI: fix PyPI upload URL and bump artifact actions to Node 24 The production publish step pointed repository-url at https://pypi.org/legacy/, which 404s (that host has no upload API). Drop the override so the action uses its default https://upload.pypi.org/legacy/. Bump upload-artifact v4->v6 and download-artifact v4->v7, the first majors that default to the Node 24 runtime (Node 20 is deprecated). --- .github/workflows/pypi_deploy.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pypi_deploy.yml b/.github/workflows/pypi_deploy.yml index 1a113078..f4f5cd5d 100644 --- a/.github/workflows/pypi_deploy.yml +++ b/.github/workflows/pypi_deploy.yml @@ -30,7 +30,7 @@ jobs: run: | python -m build --sdist --outdir dist/ - name: Upload artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: sdist path: ./dist/** @@ -61,7 +61,7 @@ jobs: with: output-dir: dist - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v6 with: name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }} path: ./dist/*.whl @@ -79,7 +79,7 @@ jobs: - macos-15 # apple silicon steps: - name: Download wheel - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v7 with: path: dist merge-multiple: true @@ -102,14 +102,12 @@ jobs: id-token: write steps: - name: Download wheel - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v7 with: path: dist merge-multiple: true - name: Publish distribution to PyPI uses: pypa/gh-action-pypi-publish@release/v1 - with: - repository-url: https://pypi.org/legacy/ publish-test-pypi: name: Publish Python distribution to test.pypi.org @@ -123,7 +121,7 @@ jobs: id-token: write steps: - name: Download wheel - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v7 with: path: dist merge-multiple: true