Skip to content

Commit d543c12

Browse files
committed
CI: Fix Python action
1 parent e7d3e56 commit d543c12

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

.github/workflows/pysplashsurf_CI.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
# with:
6565
# name: pysplashsurf.pyi
6666
# path: pysplashsurf/pysplashsurf/
67-
# - uses: actions/setup-python@v5
67+
# - uses: actions/setup-python@v6
6868
# with:
6969
# python-version: 3.12
7070
# # QEMU is required for non-native archs
@@ -116,14 +116,14 @@ jobs:
116116
with:
117117
name: pysplashsurf.pyi
118118
path: pysplashsurf/pysplashsurf/
119-
- uses: actions/setup-python@v5
119+
- uses: actions/setup-python@v6
120120
with:
121121
python-version: 3.12
122122
- name: Build wheels
123123
uses: PyO3/maturin-action@v1
124124
with:
125125
target: ${{ matrix.target }}
126-
args: --release --out wheelhouse --auditwheel repair -m pysplashsurf/Cargo.toml
126+
args: --release --out wheelhouse --auditwheel repair -m pysplashsurf/Cargo.toml -i python3.12
127127
#sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
128128
manylinux: 2014
129129
- name: Audit & fix wheels
@@ -159,7 +159,7 @@ jobs:
159159
# with:
160160
# name: pysplashsurf.pyi
161161
# path: pysplashsurf/pysplashsurf/
162-
# - uses: actions/setup-python@v5
162+
# - uses: actions/setup-python@v6
163163
# with:
164164
# python-version: 3.12
165165
# - name: Install cibuildwheel
@@ -196,14 +196,14 @@ jobs:
196196
with:
197197
name: pysplashsurf.pyi
198198
path: pysplashsurf/pysplashsurf/
199-
- uses: actions/setup-python@v5
199+
- uses: actions/setup-python@v6
200200
with:
201201
python-version: 3.12
202202
- name: Build wheels
203203
uses: PyO3/maturin-action@v1
204204
with:
205205
target: ${{ matrix.target }}
206-
args: --release --out wheelhouse -m pysplashsurf/Cargo.toml
206+
args: --release --out wheelhouse -m pysplashsurf/Cargo.toml -i python3.12
207207
#sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
208208
- name: Audit & fix wheels
209209
run: |
@@ -234,7 +234,7 @@ jobs:
234234
# with:
235235
# name: pysplashsurf.pyi
236236
# path: pysplashsurf/pysplashsurf/
237-
# - uses: actions/setup-python@v5
237+
# - uses: actions/setup-python@v6
238238
# with:
239239
# python-version: 3.12
240240
# - name: Install cibuildwheel
@@ -278,15 +278,15 @@ jobs:
278278
with:
279279
name: pysplashsurf.pyi
280280
path: pysplashsurf/pysplashsurf/
281-
- uses: actions/setup-python@v5
281+
- uses: actions/setup-python@v6
282282
with:
283283
python-version: 3.12
284284
architecture: ${{ matrix.py-arch }}
285285
- name: Build wheels
286286
uses: PyO3/maturin-action@v1
287287
with:
288288
target: ${{ matrix.target }}
289-
args: --release --out wheelhouse -m pysplashsurf/Cargo.toml
289+
args: --release --out wheelhouse -m pysplashsurf/Cargo.toml -i python3.12
290290
#sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
291291
- name: Audit wheels
292292
run: |
@@ -330,9 +330,9 @@ jobs:
330330
with:
331331
pattern: wheels-*
332332
merge-multiple: true
333-
- uses: actions/setup-python@v5
333+
- uses: actions/setup-python@v6
334334
with:
335-
python-version: 3.x
335+
python-version: 3.12
336336
- name: Install dependencies
337337
run: |
338338
python -m pip install --upgrade pip
@@ -352,15 +352,15 @@ jobs:
352352
filename: ${{ steps.get_filename.outputs.file_name }}
353353
steps:
354354
- uses: actions/checkout@v6
355-
- uses: actions/setup-python@v5
355+
- uses: actions/setup-python@v6
356356
with:
357-
python-version: 3.x
357+
python-version: 3.12
358358
- name: Build wheels
359359
uses: PyO3/maturin-action@v1
360360
with:
361361
target: x86_64
362-
args: --release --out dist -m pysplashsurf/Cargo.toml
363-
manylinux: auto
362+
args: --release --out dist --auditwheel repair -m pysplashsurf/Cargo.toml -i python3.12
363+
manylinux: 2014
364364
- name: Get wheel name
365365
id: get_filename
366366
run: |
@@ -378,9 +378,9 @@ jobs:
378378
runs-on: ubuntu-latest
379379
steps:
380380
- uses: actions/checkout@v6
381-
- uses: actions/setup-python@v5
381+
- uses: actions/setup-python@v6
382382
with:
383-
python-version: 3.x
383+
python-version: 3.12
384384
- name: Download wheel
385385
uses: actions/download-artifact@v4
386386
with:
@@ -415,9 +415,9 @@ jobs:
415415
runs-on: ubuntu-latest
416416
steps:
417417
- uses: actions/checkout@v6
418-
- uses: actions/setup-python@v5
418+
- uses: actions/setup-python@v6
419419
with:
420-
python-version: 3.x
420+
python-version: 3.12
421421
- uses: mamba-org/setup-micromamba@v2
422422
with:
423423
environment-file: pysplashsurf/python_environment.yaml

0 commit comments

Comments
 (0)