From 8f0bf3663e6ee45ebd5719ee2c1d996c5310262f Mon Sep 17 00:00:00 2001 From: rob thijssen Date: Fri, 24 Apr 2026 11:44:42 +0300 Subject: [PATCH] fix(ci): add rustup install/update step to build job The gitea runner user on beast doesn't have Rust installed. Reuses existing installation on subsequent runs. Co-Authored-By: Claude Opus 4.6 (1M context) --- .gitea/workflows/build-release.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.gitea/workflows/build-release.yml b/.gitea/workflows/build-release.yml index 63f4005..f4cb6dd 100644 --- a/.gitea/workflows/build-release.yml +++ b/.gitea/workflows/build-release.yml @@ -23,6 +23,15 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Install/update Rust toolchain + run: | + if command -v rustup &> /dev/null; then + rustup update stable + else + curl --proto '=https' --tlsv1.2 --silent --show-error --fail https://sh.rustup.rs | sh -s -- -y + fi + echo "${HOME}/.cargo/bin" >> "$GITHUB_PATH" + - name: Clone mistral.rs at tag run: | git clone --depth 1 --branch "${{ inputs.tag }}" \