@@ -37,31 +37,31 @@ jobs:
37
37
mkdir -p dist/
38
38
echo "${VERSION}" > dist/VERSION
39
39
40
- - uses : actions/upload-artifact@v2
40
+ - uses : actions/upload-artifact@v4
41
41
with :
42
- name : dist
42
+ name : dist-version
43
43
path : dist/
44
44
45
45
build-sdist :
46
46
needs : validate-release-request
47
47
runs-on : ubuntu-latest
48
48
49
49
steps :
50
- - uses : actions/checkout@v3
50
+ - uses : actions/checkout@v4
51
51
with :
52
52
fetch-depth : 50
53
53
submodules : true
54
54
55
- - uses : actions/setup-python@v4
55
+ - uses : actions/setup-python@v5
56
56
57
57
- name : Build source distribution
58
58
run : |
59
59
python -m pip install -U setuptools wheel pip
60
60
python setup.py sdist
61
61
62
- - uses : actions/upload-artifact@v3
62
+ - uses : actions/upload-artifact@v4
63
63
with :
64
- name : dist
64
+ name : dist-sdist
65
65
path : dist/*.tar.*
66
66
67
67
build-wheels-matrix :
@@ -70,11 +70,11 @@ jobs:
70
70
outputs :
71
71
include : ${{ steps.set-matrix.outputs.include }}
72
72
steps :
73
- - uses : actions/checkout@v3
74
- - uses : actions/setup-python@v4
73
+ - uses : actions/checkout@v4
74
+ - uses : actions/setup-python@v5
75
75
with :
76
76
python-version : " 3.x"
77
- - run : pip install cibuildwheel==2.15.0
77
+ - run : pip install cibuildwheel==2.21.3
78
78
- id : set-matrix
79
79
run : |
80
80
MATRIX_INCLUDE=$(
@@ -103,7 +103,7 @@ jobs:
103
103
PIP_DISABLE_PIP_VERSION_CHECK : 1
104
104
105
105
steps :
106
- - uses : actions/checkout@v3
106
+ - uses : actions/checkout@v4
107
107
with :
108
108
fetch-depth : 50
109
109
submodules : true
@@ -112,31 +112,32 @@ jobs:
112
112
if : runner.os == 'Linux'
113
113
uses : docker/setup-qemu-action@v2
114
114
115
- - uses : pypa/cibuildwheel@39a63b5912f086dd459cf6fcb13dcdd3fe3bc24d # v2.15.0
115
+ - uses : pypa/cibuildwheel@7940a4c0e76eb2030e473a5f864f291f63ee879b # v2.21.3
116
116
with :
117
117
only : ${{ matrix.only }}
118
118
env :
119
119
CIBW_BUILD_VERBOSITY : 1
120
120
CIBW_ENVIRONMENT : " IMMU_SKIP_MYPY_TESTS=1"
121
121
122
- - uses : actions/upload-artifact@v3
122
+ - uses : actions/upload-artifact@v4
123
123
with :
124
- name : dist
124
+ name : dist-${{ matrix.only }}
125
125
path : wheelhouse/*.whl
126
126
127
127
publish :
128
128
needs : [build-sdist, build-wheels]
129
129
runs-on : ubuntu-latest
130
130
131
131
steps :
132
- - uses : actions/checkout@v3
132
+ - uses : actions/checkout@v4
133
133
with :
134
134
fetch-depth : 5
135
135
submodules : false
136
136
137
- - uses : actions/download-artifact@v2
137
+ - uses : actions/download-artifact@v4
138
138
with :
139
- name : dist
139
+ name : dist-*
140
+ merge-multiple : true
140
141
path : dist/
141
142
142
143
- name : Extract Release Version
0 commit comments