File tree 1 file changed +8
-6
lines changed
1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change 15
15
16
16
steps :
17
17
- name : Check out code
18
- uses : actions/checkout@v2
18
+ uses : actions/checkout@v4
19
19
20
20
# Install Rust and Cargo
21
21
- name : Install Rust
26
26
override : true
27
27
28
28
- name : Set up Python ${{ matrix.python-version }}
29
- uses : actions/setup-python@v2
29
+ uses : actions/setup-python@v5
30
30
with :
31
31
python-version : ${{ matrix.python-version }}
32
32
37
37
run : maturin build --release
38
38
39
39
- name : Upload wheel
40
- uses : actions/upload-artifact@v2
40
+ uses : actions/upload-artifact@v4
41
41
with :
42
42
name : wheels-${{ matrix.os }}-${{ matrix.python-version }}
43
43
path : target/wheels/*.whl
@@ -48,17 +48,19 @@ jobs:
48
48
49
49
steps :
50
50
- name : Download all wheels
51
- uses : actions/download-artifact@v2
51
+ uses : actions/download-artifact@v4
52
52
with :
53
53
path : wheels
54
+ pattern : wheels-*
55
+ merge-multiple : true
54
56
55
57
- name : Set up Python
56
- uses : actions/setup-python@v2
58
+ uses : actions/setup-python@v5
57
59
with :
58
60
python-version : ' 3.x'
59
61
60
62
- name : Install twine
61
63
run : pip install twine
62
64
63
65
- name : Publish to PyPI
64
- run : twine upload wheels/*/*.whl --username "__token__" --password ${{ secrets.PYPI_API_TOKEN }}
66
+ run : twine upload wheels/*/*.whl --username "__token__" --password ${{ secrets.PYPI_API_TOKEN }}
You can’t perform that action at this time.
0 commit comments