Skip to content

Commit b9264a5

Browse files
Set maturin version in release.yaml (#10257)
See: astral-sh/uv#2219
1 parent ea79f61 commit b9264a5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/release.yaml

+9
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ env:
2828
CARGO_NET_RETRY: 10
2929
CARGO_TERM_COLOR: always
3030
RUSTUP_MAX_RETRIES: 10
31+
MATURIN_VERSION: "1.4.0"
3132

3233
jobs:
3334
sdist:
@@ -44,6 +45,7 @@ jobs:
4445
- name: "Build sdist"
4546
uses: PyO3/maturin-action@v1
4647
with:
48+
maturin-version: ${{ env.MATURIN_VERSION }}
4749
command: sdist
4850
args: --out dist
4951
- name: "Test sdist"
@@ -72,6 +74,7 @@ jobs:
7274
- name: "Build wheels - x86_64"
7375
uses: PyO3/maturin-action@v1
7476
with:
77+
maturin-version: ${{ env.MATURIN_VERSION }}
7578
target: x86_64
7679
args: --release --locked --out dist
7780
- name: "Test wheel - x86_64"
@@ -112,6 +115,7 @@ jobs:
112115
- name: "Build wheels - universal2"
113116
uses: PyO3/maturin-action@v1
114117
with:
118+
maturin-version: ${{ env.MATURIN_VERSION }}
115119
args: --release --locked --target universal2-apple-darwin --out dist
116120
- name: "Test wheel - universal2"
117121
run: |
@@ -160,6 +164,7 @@ jobs:
160164
- name: "Build wheels"
161165
uses: PyO3/maturin-action@v1
162166
with:
167+
maturin-version: ${{ env.MATURIN_VERSION }}
163168
target: ${{ matrix.platform.target }}
164169
args: --release --locked --out dist
165170
- name: "Test wheel"
@@ -208,6 +213,7 @@ jobs:
208213
- name: "Build wheels"
209214
uses: PyO3/maturin-action@v1
210215
with:
216+
maturin-version: ${{ env.MATURIN_VERSION }}
211217
target: ${{ matrix.target }}
212218
manylinux: auto
213219
args: --release --locked --out dist
@@ -270,6 +276,7 @@ jobs:
270276
- name: "Build wheels"
271277
uses: PyO3/maturin-action@v1
272278
with:
279+
maturin-version: ${{ env.MATURIN_VERSION }}
273280
target: ${{ matrix.platform.target }}
274281
manylinux: auto
275282
docker-options: ${{ matrix.platform.maturin_docker_options }}
@@ -326,6 +333,7 @@ jobs:
326333
- name: "Build wheels"
327334
uses: PyO3/maturin-action@v1
328335
with:
336+
maturin-version: ${{ env.MATURIN_VERSION }}
329337
target: ${{ matrix.target }}
330338
manylinux: musllinux_1_2
331339
args: --release --locked --out dist
@@ -381,6 +389,7 @@ jobs:
381389
- name: "Build wheels"
382390
uses: PyO3/maturin-action@v1
383391
with:
392+
maturin-version: ${{ env.MATURIN_VERSION }}
384393
target: ${{ matrix.platform.target }}
385394
manylinux: musllinux_1_2
386395
args: --release --locked --out dist

0 commit comments

Comments
 (0)