Update build.yml

This commit is contained in:
Eugene
2024-07-22 10:25:53 +02:00
parent f1fed5feb6
commit 4330317dea

View File

@@ -216,7 +216,7 @@ jobs:
export RUSTUP_HOME=/rustup export RUSTUP_HOME=/rustup
export CARGO_HOME=/cargo export CARGO_HOME=/cargo
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain none -y curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain none -y
source "$HOME/.cargo/env" source "/cargo/env"
rustup target add ${{matrix.rust_triple}} rustup target add ${{matrix.rust_triple}}
export ARCH=${{matrix.build-arch}} npm_config_arch=${{matrix.build-arch}} npm_config_target_arch=${{matrix.build-arch}} RUST_TARGET_TRIPLE=${{matrix.rust_triple}} export ARCH=${{matrix.build-arch}} npm_config_arch=${{matrix.build-arch}} npm_config_target_arch=${{matrix.build-arch}} RUST_TARGET_TRIPLE=${{matrix.rust_triple}}
npm i -g yarn npm i -g yarn