Skip to content

Commit 2948d4d

Browse files
committed
update ci
1 parent 205b968 commit 2948d4d

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/CI.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ jobs:
4040
- uses: actions/checkout@v4
4141
- uses: actions/setup-python@v5
4242
with:
43-
python-version: 3.x
43+
python-version: '3.11'
4444
- name: Build wheels
4545
uses: PyO3/maturin-action@v1
4646
with:
4747
target: ${{ matrix.platform.target }}
48-
args: --release --out dist --find-interpreter
48+
args: --release --out dist --find-interpreter --manifest-path rust/Cargo.toml
4949
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
5050
manylinux: auto
5151
- name: Upload wheels
@@ -71,12 +71,12 @@ jobs:
7171
- uses: actions/checkout@v4
7272
- uses: actions/setup-python@v5
7373
with:
74-
python-version: 3.x
74+
python-version: '3.11'
7575
- name: Build wheels
7676
uses: PyO3/maturin-action@v1
7777
with:
7878
target: ${{ matrix.platform.target }}
79-
args: --release --out dist --find-interpreter
79+
args: --release --out dist --find-interpreter --manifest-path rust/Cargo.toml
8080
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
8181
manylinux: musllinux_1_2
8282
- name: Upload wheels
@@ -98,13 +98,13 @@ jobs:
9898
- uses: actions/checkout@v4
9999
- uses: actions/setup-python@v5
100100
with:
101-
python-version: 3.x
101+
python-version: '3.11'
102102
architecture: ${{ matrix.platform.target }}
103103
- name: Build wheels
104104
uses: PyO3/maturin-action@v1
105105
with:
106106
target: ${{ matrix.platform.target }}
107-
args: --release --out dist --find-interpreter
107+
args: --release --out dist --find-interpreter --manifest-path rust/Cargo.toml
108108
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
109109
- name: Upload wheels
110110
uses: actions/upload-artifact@v4
@@ -125,12 +125,12 @@ jobs:
125125
- uses: actions/checkout@v4
126126
- uses: actions/setup-python@v5
127127
with:
128-
python-version: 3.x
128+
python-version: '3.11'
129129
- name: Build wheels
130130
uses: PyO3/maturin-action@v1
131131
with:
132132
target: ${{ matrix.platform.target }}
133-
args: --release --out dist --find-interpreter
133+
args: --release --out dist --find-interpreter --manifest-path rust/Cargo.toml
134134
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
135135
- name: Upload wheels
136136
uses: actions/upload-artifact@v4
@@ -146,7 +146,7 @@ jobs:
146146
uses: PyO3/maturin-action@v1
147147
with:
148148
command: sdist
149-
args: --out dist
149+
args: --out dist --manifest-path rust/Cargo.toml
150150
- name: Upload sdist
151151
uses: actions/upload-artifact@v4
152152
with:

0 commit comments

Comments
 (0)