build_rocky: use dtolnay/rust-toolchain action

This commit is contained in:
Andrej730
2026-08-28 17:22:38 +05:00
parent f3d1c62f57
commit 1f6e02639b
2 changed files with 10 additions and 16 deletions
+5 -8
View File
@@ -33,14 +33,11 @@ jobs:
libXfixes-devel libXft-devel pango-devel cairo-devel libstdc++-static libXfixes-devel libXft-devel pango-devel cairo-devel libstdc++-static
git config --global --add safe.directory '*' git config --global --add safe.directory '*'
- name: Install Rust # The bonsaiviewer-autodesk connector is a Rust crate; the "Package
# The bonsaiviewer-autodesk connector is a Rust crate; the "Package # .zip archives" step below runs `cargo build --release` via
# .zip archives" step below runs `cargo build --release` via # packaging/build.py. Match the dedicated connector workflow's stable
# packaging/build.py. Match the dedicated connector workflow's stable # toolchain, rather than whatever Rust the runner image happens to ship.
# toolchain (dtolnay/rust-toolchain@stable). - uses: 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"
- name: Install aws cli - name: Install aws cli
run: | run: |
+5 -8
View File
@@ -45,14 +45,11 @@ jobs:
libXfixes-devel libXft-devel pango-devel cairo-devel libstdc++-static libXfixes-devel libXft-devel pango-devel cairo-devel libstdc++-static
git config --global --add safe.directory '*' git config --global --add safe.directory '*'
- name: Install Rust # The bonsaiviewer-autodesk connector is a Rust crate; the "Package
# The bonsaiviewer-autodesk connector is a Rust crate; the "Package # .zip archives" step below runs `cargo build --release` via
# .zip archives" step below runs `cargo build --release` via # packaging/build.py. Match the dedicated connector workflow's stable
# packaging/build.py. Match the dedicated connector workflow's stable # toolchain, rather than whatever Rust the runner image happens to ship.
# toolchain (dtolnay/rust-toolchain@stable). - uses: 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"
- name: Install aws cli - name: Install aws cli
run: | run: |