File tree 1 file changed +9
-5
lines changed
1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change 49
49
- run : |
50
50
python -m pip install --upgrade build
51
51
python -m build --sdist
52
- - uses : actions/upload-artifact@v3
52
+ - uses : actions/upload-artifact@v4
53
53
with :
54
+ name : cibw-sdist
54
55
path : ./dist/*
55
56
56
57
build-wheels :
66
67
- uses : actions/checkout@v3
67
68
- name : Build wheels
68
69
uses : pypa/cibuildwheel@v2.20.0
69
- - uses : actions/upload-artifact@v3
70
+ - uses : actions/upload-artifact@v4
70
71
with :
72
+ name : cibw-wheels-x86-${{ matrix.os }}-${{ strategy.job-index }}
71
73
path : ./wheelhouse/*.whl
72
74
73
75
build-wheels-linux-aarch64 :
@@ -85,19 +87,21 @@ jobs:
85
87
uses : pypa/cibuildwheel@v2.20.0
86
88
env :
87
89
CIBW_ARCHS_LINUX : aarch64
88
- - uses : actions/upload-artifact@v3
90
+ - uses : actions/upload-artifact@v4
89
91
with :
92
+ name : cibw-wheels-arm-${{ matrix.os }}-${{ strategy.job-index }}
90
93
path : ./wheelhouse/*.whl
91
94
92
95
publish :
93
96
name : Publish on PyPI
94
97
needs : [build-sdist, build-wheels, build-wheels-linux-aarch64]
95
98
runs-on : ubuntu-22.04
96
99
steps :
97
- - uses : actions/download-artifact@v3
100
+ - uses : actions/download-artifact@v4
98
101
with :
99
- name : artifact
102
+ pattern : cibw-*
100
103
path : dist
104
+ merge-multiple : true
101
105
- uses : pypa/gh-action-pypi-publish@release/v1
102
106
with :
103
107
user : __token__
You can’t perform that action at this time.
0 commit comments