Skip to content

Commit c58655e

Browse files
committed
chore: rust->1.85 + cleanup
1 parent ea92533 commit c58655e

File tree

12 files changed

+167
-136
lines changed

12 files changed

+167
-136
lines changed

.github/workflows/release.yml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -3,43 +3,43 @@ name: Release
33
on:
44
push:
55
tags:
6-
- 'v*'
6+
- "v*"
77
workflow_dispatch: {}
88

99
jobs:
1010
windows:
1111
runs-on: windows-latest
1212
steps:
13-
- name: Checkout
14-
uses: actions/checkout@v4
15-
- name: Build wheels
16-
uses: PyO3/maturin-action@v1
17-
with:
18-
rust-toolchain: 1.83.0
19-
command: build
20-
args: -m zbl_py/Cargo.toml --release -o dist --find-interpreter
21-
- name: Upload artifacts
22-
uses: actions/upload-artifact@v4
23-
with:
24-
name: dist
25-
path: dist
13+
- name: Checkout
14+
uses: actions/checkout@v4
15+
- name: Build wheels
16+
uses: PyO3/maturin-action@v1
17+
with:
18+
rust-toolchain: 1.85.0
19+
command: build
20+
args: -m zbl_py/Cargo.toml --release -o dist --find-interpreter
21+
- name: Upload artifacts
22+
uses: actions/upload-artifact@v4
23+
with:
24+
name: dist
25+
path: dist
2626
publish:
2727
needs:
28-
- windows
28+
- windows
2929
runs-on: ubuntu-latest
3030
steps:
31-
- name: Get artifacts
32-
uses: actions/download-artifact@v4
33-
with:
34-
name: dist
35-
path: dist
36-
- name: Release
37-
uses: softprops/action-gh-release@v2
38-
if: startsWith(github.ref, 'refs/tags/')
39-
with:
40-
files: dist/*
41-
- name: Publish package to PyPI
42-
if: startsWith(github.ref, 'refs/tags')
43-
uses: pypa/gh-action-pypi-publish@cbd6d01d855e02aab0908c7709d5c0ddc88c617a
44-
with:
45-
password: ${{ secrets.PYPI_API_TOKEN }}
31+
- name: Get artifacts
32+
uses: actions/download-artifact@v4
33+
with:
34+
name: dist
35+
path: dist
36+
- name: Release
37+
uses: softprops/action-gh-release@v2
38+
if: startsWith(github.ref, 'refs/tags/')
39+
with:
40+
files: dist/*
41+
- name: Publish package to PyPI
42+
if: startsWith(github.ref, 'refs/tags')
43+
uses: pypa/gh-action-pypi-publish@cbd6d01d855e02aab0908c7709d5c0ddc88c617a
44+
with:
45+
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)