Skip to content

Commit 36fd4b1

Browse files
fix: pypi-release-action: downgrade upload-artifact and download-artifact to v3 (#938)
Since there are breaking changes between the upload-artifact and download-artifact versions v3 and v4, this workflow was broken, and no releases were uploaded to pypi. A downgrade should make this work again
1 parent 4932700 commit 36fd4b1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/release_to_pypi.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
sccache: 'true'
2424
manylinux: auto
2525
- name: Upload wheels
26-
uses: actions/upload-artifact@v4
26+
uses: actions/upload-artifact@v3
2727
with:
2828
name: wheels
2929
path: dist
@@ -42,7 +42,7 @@ jobs:
4242
args: --release --out dist
4343
sccache: 'true'
4444
- name: Upload wheels
45-
uses: actions/upload-artifact@v4
45+
uses: actions/upload-artifact@v3
4646
with:
4747
name: wheels
4848
path: dist
@@ -61,7 +61,7 @@ jobs:
6161
args: --release --out dist
6262
sccache: 'true'
6363
- name: Upload wheels
64-
uses: actions/upload-artifact@v4
64+
uses: actions/upload-artifact@v3
6565
with:
6666
name: wheels
6767
path: dist
@@ -76,7 +76,7 @@ jobs:
7676
command: sdist
7777
args: --out dist
7878
- name: Upload sdist
79-
uses: actions/upload-artifact@v4
79+
uses: actions/upload-artifact@v3
8080
with:
8181
name: wheels
8282
path: dist
@@ -87,7 +87,7 @@ jobs:
8787
if: "startsWith(github.ref, 'refs/tags/')"
8888
needs: [linux, windows, macos, sdist]
8989
steps:
90-
- uses: actions/download-artifact@v4
90+
- uses: actions/download-artifact@v3
9191
with:
9292
name: wheels
9393
- name: Publish to PyPI

0 commit comments

Comments
 (0)