From 2ef2b827b715fbe86e651ca3f1103852fab315c0 Mon Sep 17 00:00:00 2001 From: icsboyx Date: Sun, 11 Jan 2026 08:31:01 +0100 Subject: [PATCH] fix: update Rust installation check to use executable path for cargo --- .gitea/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index bc0e644..a5371be 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -44,7 +44,7 @@ jobs: shell: bash run: | set -e - if ! command -v cargo >/dev/null 2>&1; then + if [ ! -x "$HOME/.cargo/bin/cargo" ]; then curl -fsSL https://sh.rustup.rs | sh -s -- -y --default-toolchain stable fi echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"