diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index a368c72..28c8046 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -33,9 +33,12 @@ jobs: # Install rust toolchain - name: Install Rust run: | - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y -q - curl https://drager.github.io/wasm-pack/installer/init.sh -sSf | sh + sudo apt-get-update + sudo apt-get install -y curl build-essential ca-certificates gcc libc6-dev pkg-config libssl-dev + sudo apt-get install -y rustup + rustup install stable --no-self-update --profile minimal -y source "$HOME/.cargo/env" + curl https://drager.github.io/wasm-pack/installer/init.sh -sSf | sh rustc --version cargo --version wasm-pack --version