Skip to content

Commit 0cdb994

Browse files
committed
Bring it back to life.
1 parent ad3ddcd commit 0cdb994

File tree

1 file changed

+20
-19
lines changed

1 file changed

+20
-19
lines changed

.github/workflows/cibuildwheel.yml

+20-19
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ jobs:
3030
sha: ${{ steps.autotag.outputs.tagsha }}
3131
steps:
3232
- name: Checkout
33-
uses: actions/checkout@v3
33+
uses: actions/checkout@v4
3434
- name: Autoadd release Tags
35-
uses: sbrodehl/action-autotag@v2
35+
uses: sbrodehl/action-autotag@v3
3636
id: autotag
3737
with:
3838
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -55,10 +55,10 @@ jobs:
5555
if: ${{ needs.auto-tag.outputs.sha && inputs.deploy }}
5656
steps:
5757
- name: Download all the dists
58-
uses: actions/download-artifact@v2
58+
uses: actions/download-artifact@v4
5959
with:
60-
name: wheels
6160
path: ./dist/
61+
merge-multiple: true
6262
- name: Publish to PyPI
6363
uses: pypa/gh-action-pypi-publish@release/v1
6464
with:
@@ -83,12 +83,12 @@ jobs:
8383
- os: ubuntu-20.04
8484
cibw_archs: "aarch64"
8585
steps:
86-
- uses: actions/checkout@v3
86+
- uses: actions/checkout@v4
8787
with:
8888
fetch-depth: 0
8989

9090
- name: Set up Python
91-
uses: actions/setup-python@v4
91+
uses: actions/setup-python@v5
9292
with:
9393
python-version: 3.x
9494

@@ -100,15 +100,16 @@ jobs:
100100

101101
- name: Install cibuildwheel
102102
run: |
103-
python -m pip install cibuildwheel==2.11.2
103+
python -m pip install cibuildwheel
104104
105-
- name: Build wheels for CPython 3.10 / 3.11
105+
- name: Build wheels for CPython 3.10+
106106
run: |
107107
python -m cibuildwheel --output-dir dist
108108
env:
109-
CIBW_BUILD: "cp310-* cp311-*"
110-
CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_24
111-
CIBW_MANYLINUX_AARCH64_IMAGE: manylinux_2_24
109+
CIBW_BUILD: "{c,p}p3*"
110+
CIBW_SKIP: "{c,p}p3{6..9}-*"
111+
CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28
112+
CIBW_MANYLINUX_AARCH64_IMAGE: manylinux_2_28
112113
CIBW_BEFORE_ALL_LINUX: apt-get update && apt-get --yes --allow-downgrades --allow-remove-essential install libatlas-base-dev
113114
CIBW_BEFORE_BUILD: python -m pip install -U pip && python -m pip install -r requirements.txt
114115
CIBW_ARCHS: ${{ matrix.cibw_archs }}
@@ -117,26 +118,26 @@ jobs:
117118
run: |
118119
python -m cibuildwheel --output-dir dist
119120
env:
120-
CIBW_BUILD: "cp37-* cp38-* cp39-*"
121+
CIBW_BUILD: "{c,p}p37-* {c,p}p38-* {c,p}p39-*"
121122
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
122123
CIBW_MANYLINUX_AARCH64_IMAGE: manylinux2014
123124
CIBW_BEFORE_ALL_LINUX: yum install -y atlas-devel
124125
CIBW_BEFORE_BUILD: python -m pip install -U pip && python -m pip install -r requirements.txt
125126
CIBW_ARCHS: ${{ matrix.cibw_archs }}
126127

127-
- uses: actions/upload-artifact@v3
128+
- uses: actions/upload-artifact@v4
128129
with:
129-
name: wheels
130+
name: wheels-${{ matrix.os }}-${{ matrix.cibw_archs }}
130131
path: ./dist/*.whl
131132

132133
build_sdist:
133134
name: Build source distribution
134135
runs-on: ubuntu-latest
135136
needs: [auto-tag]
136137
steps:
137-
- uses: actions/checkout@v3
138+
- uses: actions/checkout@v4
138139

139-
- uses: actions/setup-python@v4
140+
- uses: actions/setup-python@v5
140141
name: Switch to using Python 3.x
141142
with:
142143
python-version: 3.x
@@ -157,7 +158,7 @@ jobs:
157158
cd ${GITHUB_WORKSPACE}
158159
159160
- name: Store source distribution
160-
uses: actions/upload-artifact@v3
161+
uses: actions/upload-artifact@v4
161162
with:
162163
name: wheels
163164
path: ./dist/*tar.gz
@@ -174,9 +175,9 @@ jobs:
174175
needs: [build_sdist]
175176
runs-on: ubuntu-latest
176177
steps:
177-
- uses: actions/checkout@v3
178+
- uses: actions/checkout@v4
178179

179-
- uses: actions/setup-python@v4
180+
- uses: actions/setup-python@v5
180181
name: Switch to using Python 3.x
181182
with:
182183
python-version: 3.x

0 commit comments

Comments
 (0)