Skip to content

Commit 4b2ee56

Browse files
committed
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).
1 parent 7b3674f commit 4b2ee56

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

‎.github/workflows/pypi_deploy.yml‎

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
run: |
3131
python -m build --sdist --outdir dist/
3232
- name: Upload artifact
33-
uses: actions/upload-artifact@v4
33+
uses: actions/upload-artifact@v6
3434
with:
3535
name: sdist
3636
path: ./dist/**
@@ -61,7 +61,7 @@ jobs:
6161
with:
6262
output-dir: dist
6363

64-
- uses: actions/upload-artifact@v4
64+
- uses: actions/upload-artifact@v6
6565
with:
6666
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
6767
path: ./dist/*.whl
@@ -79,7 +79,7 @@ jobs:
7979
- macos-15 # apple silicon
8080
steps:
8181
- name: Download wheel
82-
uses: actions/download-artifact@v4
82+
uses: actions/download-artifact@v7
8383
with:
8484
path: dist
8585
merge-multiple: true
@@ -102,14 +102,12 @@ jobs:
102102
id-token: write
103103
steps:
104104
- name: Download wheel
105-
uses: actions/download-artifact@v4
105+
uses: actions/download-artifact@v7
106106
with:
107107
path: dist
108108
merge-multiple: true
109109
- name: Publish distribution to PyPI
110110
uses: pypa/gh-action-pypi-publish@release/v1
111-
with:
112-
repository-url: https://pypi.org/legacy/
113111

114112
publish-test-pypi:
115113
name: Publish Python distribution to test.pypi.org
@@ -123,7 +121,7 @@ jobs:
123121
id-token: write
124122
steps:
125123
- name: Download wheel
126-
uses: actions/download-artifact@v4
124+
uses: actions/download-artifact@v7
127125
with:
128126
path: dist
129127
merge-multiple: true

0 commit comments

Comments
 (0)