From 593cd818763b31e760a54c8044a5da39be9ca6d7 Mon Sep 17 00:00:00 2001 From: robojerk Date: Fri, 5 Sep 2025 10:34:01 -0700 Subject: [PATCH] Fix cargo path in CI workflow - Use 'cargo' directly instead of full path - Dockerfile sets PATH to include /usr/local/cargo/bin - Fixes 'No such file or directory' error for cargo command - Rust toolchain now properly accessible in container --- .forgejo/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 74e046b..21c192f 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -89,7 +89,7 @@ jobs: cd bootupd && \ git fetch --all && \ git switch origin/sdboot-support -d && \ - /root/.cargo/bin/cargo build --release --bins --features systemd-boot && \ + cargo build --release --bins --features systemd-boot && \ install -Dpm0755 -t /usr/bin ./target/release/bootupd && \ ln -s ./bootupd /usr/bin/bootupctl && \ cp /usr/bin/bootupd /workspace/ && \