Skip to content

Commit 4d23e1d

Browse files
committed
switch to cross for linux builds
1 parent b6417d0 commit 4d23e1d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,15 @@ jobs:
5050

5151
steps:
5252
- uses: actions/checkout@v5
53-
- uses: mlugg/setup-zig@v2
5453
- uses: actions-rust-lang/setup-rust-toolchain@v1
5554
with:
5655
rustflags: ""
5756

5857
- name: build ${{ matrix.config.name }}
5958
if: contains(matrix.config.os, 'ubuntu')
6059
run: |
61-
cargo install cargo-zigbuild
62-
cargo zigbuild --release --target x86_64-unknown-linux-gnu.2.31
60+
cargo install cargo-cross
61+
cargo cross build --release --target x86_64-unknown-linux-gnu
6362
6463
- name: build ${{ matrix.config.name }}
6564
if: contains(matrix.config.os, 'macos')

0 commit comments

Comments
 (0)