From 75c93ce5be7398b0f39e26b9b0a544d8d49574c4 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Fri, 28 Aug 2026 17:22:38 +0500 Subject: [PATCH] build_rocky: use `dtolnay/rust-toolchain` action --- .github/workflows/build_rocky.yml | 13 +++++-------- .github/workflows/build_rocky_arm.yml | 13 +++++-------- 2 files changed, 10 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build_rocky.yml b/.github/workflows/build_rocky.yml index 3f506d9982..0e1078033f 100644 --- a/.github/workflows/build_rocky.yml +++ b/.github/workflows/build_rocky.yml @@ -33,14 +33,11 @@ jobs: libXfixes-devel libXft-devel pango-devel cairo-devel libstdc++-static git config --global --add safe.directory '*' - - name: Install Rust - # The bonsaiviewer-autodesk connector is a Rust crate; the "Package - # .zip archives" step below runs `cargo build --release` via - # packaging/build.py. Match the dedicated connector workflow's stable - # toolchain (dtolnay/rust-toolchain@stable). - run: | - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain stable - echo "$HOME/.cargo/bin" >> "$GITHUB_PATH" + # The bonsaiviewer-autodesk connector is a Rust crate; the "Package + # .zip archives" step below runs `cargo build --release` via + # packaging/build.py. Match the dedicated connector workflow's stable + # toolchain, rather than whatever Rust the runner image happens to ship. + - uses: dtolnay/rust-toolchain@stable - name: Install aws cli run: | diff --git a/.github/workflows/build_rocky_arm.yml b/.github/workflows/build_rocky_arm.yml index 4610d83ff0..4ffd2cdc0d 100644 --- a/.github/workflows/build_rocky_arm.yml +++ b/.github/workflows/build_rocky_arm.yml @@ -45,14 +45,11 @@ jobs: libXfixes-devel libXft-devel pango-devel cairo-devel libstdc++-static git config --global --add safe.directory '*' - - name: Install Rust - # The bonsaiviewer-autodesk connector is a Rust crate; the "Package - # .zip archives" step below runs `cargo build --release` via - # packaging/build.py. Match the dedicated connector workflow's stable - # toolchain (dtolnay/rust-toolchain@stable). - run: | - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain stable - echo "$HOME/.cargo/bin" >> "$GITHUB_PATH" + # The bonsaiviewer-autodesk connector is a Rust crate; the "Package + # .zip archives" step below runs `cargo build --release` via + # packaging/build.py. Match the dedicated connector workflow's stable + # toolchain, rather than whatever Rust the runner image happens to ship. + - uses: dtolnay/rust-toolchain@stable - name: Install aws cli run: |