Skip to content

Commit 09b85a1

Browse files
ci: add rustup to path
1 parent 0776bff commit 09b85a1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,10 @@ jobs:
7777
if: matrix.type == 'windows-aarch64'
7878
run: |
7979
curl -sSf -o rustup-init.exe https://win.rustup.rs/aarch64
80-
.\rustup-init.exe -y --default-toolchain stable --profile minimal
80+
.\rustup-init.exe -y --default-toolchain none
81+
$env:CARGO_HOME = "$env:USERPROFILE\.cargo"
82+
echo "CARGO_HOME=$env:CARGO_HOME" >> $env:GITHUB_ENV
83+
echo "$env:CARGO_HOME\bin" >> $env:GITHUB_PATH
8184
8285
- name: 'Shared: Install Rust toolchain'
8386
uses: dtolnay/rust-toolchain@nightly

0 commit comments

Comments
 (0)