Use absolute cargo path in toolchain step too
Build RPi image / build (push) Successful in 10s
Sandbox - ephemeral runner + shared cache / cargo (push) Successful in 32s

This commit is contained in:
druppy committed 2026-10-24 21:37:28 +02:00
1 parent 1acdc44f88
commit 07b072e5b7
1 file changed
+2 -1
+2 -1
View File
@@ -37,8 +37,9 @@ jobs:
if ! command -v cargo >/dev/null && [ ! -x "$HOME/.cargo/bin/cargo" ]; then if ! command -v cargo >/dev/null && [ ! -x "$HOME/.cargo/bin/cargo" ]; then
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain stable curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain stable
fi fi
# runner v5.2.2 does not apply GITHUB_PATH to later steps, so use absolute paths
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH" echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
cargo --version "$HOME/.cargo/bin/cargo" --version
- name: Test - name: Test
run: | run: |