From 43407a1f3ff9f3df7f9726c6936a5da918a3dfdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20Schl=C3=B6ffel?= Date: Tue, 9 Jun 2026 00:53:56 +0200 Subject: [PATCH] fix CI build (rustup init) --- packaging/alpine/local/greptimedb/APKBUILD | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/packaging/alpine/local/greptimedb/APKBUILD b/packaging/alpine/local/greptimedb/APKBUILD index c74543a..f81c0e1 100644 --- a/packaging/alpine/local/greptimedb/APKBUILD +++ b/packaging/alpine/local/greptimedb/APKBUILD @@ -38,11 +38,15 @@ export LIBRARY_PATH="/usr/lib" prepare() { default_prepare - rustup toolchain install --profile minimal --no-self-update "$_rust_toolchain" + rustup-init \ + -y \ + --no-modify-path \ + --profile minimal \ + --default-toolchain "$_rust_toolchain" } build() { - rustup run "$_rust_toolchain" cargo build \ + "$CARGO_HOME"/bin/rustup run "$_rust_toolchain" cargo build \ --release \ --locked \ --bin greptime \