From 9df82f99b562a03c1ae9feaa1344ab51f2cb7e66 Mon Sep 17 00:00:00 2001 From: siujamo Date: Thu, 18 Jun 2026 17:41:57 +0800 Subject: [PATCH] fix(ci): use rustup install script in CI pipeline --- .gitea/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 8eb10a8..63d2673 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -28,7 +28,9 @@ jobs: - uses: actions/checkout@v4 - name: Install Rust - run: rustup update stable && rustup default stable + run: | + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable + echo "$HOME/.cargo/bin" >> "$GITHUB_PATH" - name: Build (Linux) if: matrix.target == 'x86_64-unknown-linux-gnu'