File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -139,8 +139,10 @@ jobs:
139139 sh rustup.sh --default-toolchain stable -y
140140 echo "$HOME/.cargo/bin" >> $GITHUB_PATH
141141
142+ # We disable this for cross builds, as it seems to cause some issues.
142143 - name : Enable Rust cache
143144 uses : Swatinem/rust-cache@359a70e43a0bb8a13953b04a90f76428b4959bb6 # 2.2.0
145+ if : matrix.info.cross != true
144146 with :
145147 shared-key : build-cache-${{ matrix.info.target }}
146148 save-if : " false"
@@ -317,6 +319,7 @@ jobs:
317319 target : ${{ matrix.info.target }}
318320
319321 - name : Enable Rust cache
322+ if : matrix.info.cross != true
320323 uses : Swatinem/rust-cache@359a70e43a0bb8a13953b04a90f76428b4959bb6 # 2.2.0
321324 with :
322325 shared-key : build-cache-${{ matrix.info.target }}
You can’t perform that action at this time.
0 commit comments