File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -100,6 +100,9 @@ jobs:
100100 os : windows-11-arm
101101 exe : " .exe"
102102 install : |
103+ iex "& { $(irm https://sh.rustup.rs) -y }"
104+ echo "$env:USERPROFILE\.cargo\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
105+
103106 echo "VCPKG_ROOT=$env:VCPKG_INSTALLATION_ROOT" | Out-File -FilePath $env:GITHUB_ENV -Append
104107 vcpkg install openssl:arm64-windows-static-md
105108
@@ -132,17 +135,17 @@ jobs:
132135 target/
133136 key : ${{ matrix.target }}-cargo-release-${{ hashFiles('**/Cargo.toml') }}
134137
138+ - name : Install dependencies
139+ if : matrix.install != ''
140+ run : ${{ matrix.install }}
141+
135142 - name : Disable rustup auto update
136143 run : |
137144 rustup set auto-self-update disable
138145
139146 - run : rustup target add ${{ matrix.target }}
140147 if : matrix.target != ''
141148
142- - name : Install dependencies
143- if : matrix.install != ''
144- run : ${{ matrix.install }}
145-
146149 - name : Prepare cross
147150 if : matrix.cross == 'true'
148151 run : |
You can’t perform that action at this time.
0 commit comments