File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed
Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change 9999 }
100100
101101 - name : Install Rust ${{ matrix.rust }}
102- uses : dtolnay/rust-toolchain@master
103- with :
104- toolchain : ${{ matrix.rust }}
102+ run : |
103+ rustup override set ${{ matrix.rust }}
104+ rustup update ${{ matrix.rust }}
105105
106106 - name : Cache dependencies
107107 uses : Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
@@ -135,9 +135,10 @@ jobs:
135135 run : rm -f rust-toolchain.toml
136136
137137 - name : Install Rust
138- uses : dtolnay/rust-toolchain@stable
139- with :
140- targets : armv7-linux-androideabi, aarch64-linux-android
138+ run : |
139+ rustup override set stable
140+ rustup update stable
141+ rustup target add armv7-linux-androideabi aarch64-linux-android
141142
142143 - name : Cache dependencies
143144 uses : Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
@@ -165,9 +166,10 @@ jobs:
165166 # run: rm -f rust-toolchain.toml
166167
167168 # - name: Install Rust
168- # uses: dtolnay/rust-toolchain@nightly
169- # with:
170- # targets: wasm32-wasip2
169+ # run: |
170+ # rustup override set stable
171+ # rustup update stable
172+ # rustup target wasm32-wasip2
171173
172174 # - name: Cache dependencies
173175 # uses: Swatinem/rust-cache@v2
You can’t perform that action at this time.
0 commit comments