From 73cd06502c565200e8dfc5392081f8484e677a76 Mon Sep 17 00:00:00 2001 From: typeling1578 Date: Mon, 20 Nov 2023 22:24:53 +0900 Subject: [PATCH] fix --- .github/workflows/build.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3cd8bcb..a579289 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,7 +17,9 @@ jobs: sudo apt update sudo apt install g++ g++-aarch64-linux-gnu g++-mingw-w64 - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -y + curl --proto '=https' --tlsv1.2 -f https://sh.rustup.rs -o rust-setup.sh + chmod +x rust-setup.sh + ./rust-setup.sh -y source ~/.cargo/env rustup add x86_64-pc-windows-gnu rustup add aarch64-unknown-linux-gnu @@ -65,7 +67,9 @@ jobs: - name: Setup run: | - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -y + curl --proto '=https' --tlsv1.2 -f https://sh.rustup.rs -o rust-setup.sh + chmod +x rust-setup.sh + ./rust-setup.sh -y source ~/.cargo/env rustup add aarch64-apple-darwin