File tree Expand file tree Collapse file tree 2 files changed +7
-10
lines changed
Expand file tree Collapse file tree 2 files changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -7,13 +7,8 @@ name: Release PyPi
77
88on :
99 push :
10- branches :
11- - main
12- - master
1310 tags :
14- - ' *'
15- pull_request :
16- workflow_dispatch :
11+ - " v*" # Trigger on tags starting with "v"
1712
1813permissions :
1914 contents : read
@@ -118,8 +113,6 @@ jobs:
118113 strategy :
119114 matrix :
120115 platform :
121- - runner : macos-13
122- target : x86_64
123116 - runner : macos-14
124117 target : aarch64
125118 python-version : ["3.11", "3.12", "3.13"]
@@ -172,7 +165,7 @@ jobs:
172165 - name : Generate artifact attestation
173166 uses : actions/attest-build-provenance@v2
174167 with :
175- subject-path : ' wheels-*/*'
168+ subject-path : " wheels-*/*"
176169 - name : Publish to PyPI
177170 if : ${{ startsWith(github.ref, 'refs/tags/') }}
178171 uses : PyO3/maturin-action@v1
Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ name: Run tests
33on :
44 pull_request :
55 types : [edited]
6+ push :
7+ branches :
8+ - main
9+ - master
610
711jobs :
812 run-tests :
1418 node-version : 16
1519 - uses : actions/setup-python@v3
1620 with :
17- python-version : ' 3.13'
21+ python-version : " 3.13"
1822 - uses : actions-rust-lang/setup-rust-toolchain@v1
1923 with :
2024 components : clippy, rustfmt
You can’t perform that action at this time.
0 commit comments