99 type : string
1010
1111permissions :
12- contents : write # Changed to write for tagging
12+ contents : write
1313 id-token : write
14+
1415jobs :
1516 build-wheels-linux :
1617 runs-on : ${{ matrix.platform.runner }}
1920 - uses : actions/setup-python@v5
2021 with :
2122 python-version : 3.x
23+ - name : Copy README to kiru-py
24+ run : cp README.md kiru-py/README.md
2225 - name : Build wheels
2326 uses : PyO3/maturin-action@v1
2427 with :
5558 - uses : actions/setup-python@v5
5659 with :
5760 python-version : 3.x
61+ - name : Copy README to kiru-py
62+ run : cp README.md kiru-py/README.md
5863 - name : Build wheels
5964 uses : PyO3/maturin-action@v1
6065 with :
8893 with :
8994 python-version : 3.x
9095 architecture : ${{ matrix.platform.target }}
96+ - name : Copy README to kiru-py
97+ run : cp README.md kiru-py/README.md
9198 - name : Build wheels
9299 uses : PyO3/maturin-action@v1
93100 with :
@@ -115,6 +122,8 @@ jobs:
115122 - uses : actions/setup-python@v5
116123 with :
117124 python-version : 3.x
125+ - name : Copy README to kiru-py
126+ run : cp README.md kiru-py/README.md
118127 - name : Build wheels
119128 uses : PyO3/maturin-action@v1
120129 with :
@@ -142,7 +151,7 @@ jobs:
142151 - uses : actions/setup-python@v5
143152 with :
144153 python-version : 3.x
145- - name : Copy README to kiru-py # ← Add this step
154+ - name : Copy README to kiru-py
146155 run : cp README.md kiru-py/README.md
147156 - name : Build sdist
148157 uses : PyO3/maturin-action@v1
@@ -187,7 +196,7 @@ jobs:
187196 steps :
188197 - uses : actions/checkout@v4
189198 with :
190- fetch-depth : 0 # Need full history for tagging
199+ fetch-depth : 0
191200 - uses : actions/download-artifact@v4
192201 - name : Publish kiru-core to crates.io
193202 env :
@@ -199,9 +208,6 @@ jobs:
199208 mkdir -p kiru-py/all_wheels
200209 find . -type f -name "*.whl" -exec cp {} kiru-py/all_wheels/ \;
201210
202- - name : Copy README to kiru-py
203- run : cp README.md kiru-py/README.md
204-
205211 - name : Publish kiru-py to PyPI
206212 uses : PyO3/maturin-action@v1
207213 env :
@@ -210,6 +216,7 @@ jobs:
210216 working-directory : kiru-py
211217 command : upload
212218 args : --non-interactive --skip-existing all_wheels/*.whl
219+
213220 - name : Create GitHub Release
214221 uses : softprops/action-gh-release@v2
215222 with :
0 commit comments