Skip to content

Commit 444daf1

Browse files
committed
Fix python release workflow
1 parent 453d95c commit 444daf1

1 file changed

Lines changed: 13 additions & 11 deletions

File tree

.github/workflows/release-python.yml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ jobs:
2121
command: sdist
2222
args: --out dist --manifest-path pybigtools/Cargo.toml
2323
- name: Upload sdist
24-
uses: actions/upload-artifact@v3
24+
uses: actions/upload-artifact@v4
2525
with:
26-
name: wheels
26+
name: wheels-sdist
2727
path: dist
2828

2929
linux:
@@ -50,9 +50,9 @@ jobs:
5050
#sccache: 'true'
5151
manylinux: '2_28'
5252
- name: Upload wheels
53-
uses: actions/upload-artifact@v3
53+
uses: actions/upload-artifact@v4
5454
with:
55-
name: wheels
55+
name: wheels-linux-${{ matrix.target.target }}
5656
path: dist
5757

5858
windows:
@@ -75,9 +75,9 @@ jobs:
7575
args: --release --out dist --find-interpreter --manifest-path pybigtools/Cargo.toml
7676
#sccache: 'true'
7777
- name: Upload wheels
78-
uses: actions/upload-artifact@v3
78+
uses: actions/upload-artifact@v4
7979
with:
80-
name: wheels
80+
name: wheels-windows-${{ matrix.target }}
8181
path: dist
8282

8383
macos:
@@ -99,9 +99,9 @@ jobs:
9999
args: --release --out dist --find-interpreter --manifest-path pybigtools/Cargo.toml
100100
#sccache: 'true'
101101
- name: Upload wheels
102-
uses: actions/upload-artifact@v3
102+
uses: actions/upload-artifact@v4
103103
with:
104-
name: wheels
104+
name: wheels-macos-${{ matrix.target }}
105105
path: dist
106106

107107
publish:
@@ -114,11 +114,13 @@ jobs:
114114
needs: [linux, windows, macos, sdist]
115115

116116
steps:
117-
- uses: actions/download-artifact@v3
117+
- uses: actions/download-artifact@v4
118118
with:
119-
name: wheels
119+
path: wheels
120+
pattern: wheels-*
121+
merge-multiple: true
120122
- name: Publish to PyPI
121123
uses: PyO3/maturin-action@v1
122124
with:
123125
command: upload
124-
args: --skip-existing *
126+
args: --skip-existing wheels/*

0 commit comments

Comments
 (0)