diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 2da11a9..45b219e 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -33,12 +33,11 @@ jobs: # Install rust toolchain - name: Install Rust run: | - 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 - source "$HOME/.cargo/env" - curl https://drager.github.io/wasm-pack/installer/init.sh -sSf | sh + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup.sh + chmod +x rustup.sh + ./rustup.sh -y rustc --version cargo --version + + curl https://drager.github.io/wasm-pack/installer/init.sh -sSf | sh wasm-pack --version