diff --git a/.github/workflows/build-selenium-manager.yml b/.github/workflows/build-selenium-manager.yml index 2482838b608cf..e24f73cbb1a2b 100644 --- a/.github/workflows/build-selenium-manager.yml +++ b/.github/workflows/build-selenium-manager.yml @@ -40,15 +40,14 @@ jobs: run: | rustup update rustc -vV - - name: "Install zig" + - name: "Install cross" run: | - sudo snap install zig --beta --classic + cargo install cross --git https://github.com/cross-rs/cross - name: "Build release" run: | cd rust - cargo install cargo-zigbuild rustup target add x86_64-unknown-linux-musl - cargo zigbuild --release --target x86_64-unknown-linux-musl + cross build --release --target x86_64-unknown-linux-musl - name: "Tar binary (to keep executable permission)" run: | cd rust/target/x86_64-unknown-linux-musl/release