File tree Expand file tree Collapse file tree 2 files changed +14
-32
lines changed
Expand file tree Collapse file tree 2 files changed +14
-32
lines changed Original file line number Diff line number Diff line change @@ -28,21 +28,12 @@ jobs:
2828 if : ${{ steps.release.outputs.release_created }}
2929 uses : actions/checkout@v4
3030
31- - name : Setup Python
32- if : ${{ steps.release.outputs.release_created }}
33- uses : actions/setup-python@v5
34-
35- - name : Setup Rust
36- if : ${{ steps.release.outputs.release_created }}
37- uses : actions-rust-lang/setup-rust-toolchain@v1
38-
39- - name : Install "uv"
40- if : ${{ steps.release.outputs.release_created }}
41- uses : astral-sh/setup-uv@v5
42-
4331 - name : Build package
4432 if : ${{ steps.release.outputs.release_created }}
45- run : uv build
33+ uses : PyO3/maturin-action@v1
34+ with :
35+ command : build
36+ args : --release --out dist
4637
4738 - name : Publish package distributions to PyPI
4839 if : ${{ steps.release.outputs.release_created }}
Original file line number Diff line number Diff line change @@ -29,17 +29,11 @@ jobs:
2929 - name : Checkout project
3030 uses : actions/checkout@v4
3131
32- - name : Setup Python
33- uses : actions/setup-python@v5
34-
35- - name : Setup Rust
36- uses : actions-rust-lang/setup-rust-toolchain@v1
37-
38- - name : Install "uv"
39- uses : astral-sh/setup-uv@v5
40-
4132 - name : Build package
42- run : uv build
33+ uses : PyO3/maturin-action@v1
34+ with :
35+ command : build
36+ args : --release
4337
4438 install :
4539 runs-on : ${{ matrix.runs-on }}
@@ -60,19 +54,16 @@ jobs:
6054 - name : Checkout project
6155 uses : actions/checkout@v4
6256
57+ - name : Build package
58+ uses : PyO3/maturin-action@v1
59+ with :
60+ command : build
61+ args : --release --out dist
62+
6363 - name : Setup Python
6464 uses : actions/setup-python@v5
6565 with :
6666 python-version : ${{ matrix.python-version }}
6767
68- - name : Setup Rust
69- uses : actions-rust-lang/setup-rust-toolchain@v1
70-
71- - name : Install "uv"
72- uses : astral-sh/setup-uv@v5
73-
74- - name : Build package
75- run : uv build
76-
7768 - name : Install package using constraints
7869 run : pip install --constraint https://releases.openstack.org/constraints/upper/${{ matrix.openstack-version }} ./dist/*.whl
You can’t perform that action at this time.
0 commit comments