@@ -2,15 +2,8 @@ name: Python
22
33on :
44 push :
5- branches :
6- - main
75 tags :
86 - " v*"
9- paths :
10- - python/**
11- pull_request :
12- paths :
13- - python/**
147 workflow_dispatch :
158
169concurrency :
4740 uses : PyO3/maturin-action@v1
4841 with :
4942 target : ${{ matrix.platform.target }}
50- args : --release --out dist --find-interpreter -m python/Cargo.toml
43+ args : --release --out dist --find-interpreter
5144 sccache : " true"
5245 manylinux : auto
5346 - name : Upload wheels
7871 uses : PyO3/maturin-action@v1
7972 with :
8073 target : ${{ matrix.platform.target }}
81- args : --release --out dist --find-interpreter -m python/Cargo.toml
74+ args : --release --out dist --find-interpreter
8275 sccache : " true"
8376 manylinux : musllinux_1_2
8477 - name : Upload wheels
10699 uses : PyO3/maturin-action@v1
107100 with :
108101 target : ${{ matrix.platform.target }}
109- args : --release --out dist --find-interpreter -m python/Cargo.toml
102+ args : --release --out dist --find-interpreter
110103 sccache : " true"
111104 - name : Upload wheels
112105 uses : actions/upload-artifact@v4
@@ -132,7 +125,7 @@ jobs:
132125 uses : PyO3/maturin-action@v1
133126 with :
134127 target : ${{ matrix.platform.target }}
135- args : --release --out dist --find-interpreter -m python/Cargo.toml
128+ args : --release --out dist --find-interpreter
136129 sccache : " true"
137130 - name : Upload wheels
138131 uses : actions/upload-artifact@v4
@@ -148,8 +141,7 @@ jobs:
148141 uses : PyO3/maturin-action@v1
149142 with :
150143 command : sdist
151- args : --out dist -m python/Cargo.toml
152- maturin-version : " v1.6.0" # pinned below 1.7 until https://github.com/PyO3/maturin/issues/2244 is resolved
144+ args : --out dist
153145 - name : Upload sdist
154146 uses : actions/upload-artifact@v4
155147 with :
@@ -162,11 +154,8 @@ jobs:
162154 if : ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
163155 needs : [linux, musllinux, windows, macos, sdist]
164156 permissions :
165- # Use to sign the release artifacts
166157 id-token : write
167- # Used to upload release artifacts
168158 contents : write
169- # Used to generate artifact attestation
170159 attestations : write
171160 steps :
172161 - uses : actions/download-artifact@v4
0 commit comments