Skip to content

Commit 97850ec

Browse files
Fix release workflow: use stable cross action and set PYO3_NO_PYTHON
1 parent b4a8710 commit 97850ec

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/PyPI.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ jobs:
6363
target: aarch64-apple-darwin
6464
suffix: macos-aarch64
6565
binary_ext: ""
66+
env:
67+
PYO3_NO_PYTHON: 1
6668
steps:
6769
- uses: actions/checkout@v4
6870

@@ -77,7 +79,7 @@ jobs:
7779

7880
- name: Build with Cross (Linux AArch64)
7981
if: matrix.target == 'aarch64-unknown-linux-gnu'
80-
uses: cross-rs/cross-action@v1
82+
uses: houseabsolute/actions-rust-cross@v0
8183
with:
8284
command: build
8385
target: ${{ matrix.target }}
@@ -148,4 +150,4 @@ jobs:
148150
uses: softprops/action-gh-release@v2
149151
with:
150152
files: assets/*
151-
generate_release_notes: true
153+
generate_release_notes: true

0 commit comments

Comments
 (0)