From 93c44ad5fab62dfc79a72e42e0329d32bedc84de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois?= Date: Thu, 7 Apr 2022 20:27:36 +0200 Subject: [PATCH] cache on windows --- .github/workflows/daily-jobs.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/daily-jobs.yml b/.github/workflows/daily-jobs.yml index 1332cd3607d3e5..f677980a38098a 100644 --- a/.github/workflows/daily-jobs.yml +++ b/.github/workflows/daily-jobs.yml @@ -22,7 +22,7 @@ jobs: with: path: | target - key: ${{ runner.os }}-cargo-check-test-${{ matrix.toolchain }}-${{ hashFiles('**/Cargo.lock') }} + key: ${{ runner.os }}-ios-install-${{ matrix.toolchain }}-${{ hashFiles('**/Cargo.lock') }} - name: Add iOS targets run: rustup target add aarch64-apple-ios x86_64-apple-ios @@ -41,6 +41,16 @@ jobs: with: toolchain: stable + - uses: actions/cache@v3 + with: + path: | + ~/.cargo/bin/ + ~/.cargo/registry/index/ + ~/.cargo/registry/cache/ + ~/.cargo/git/db/ + target/ + key: ${{ runner.os }}-windows-run-examples-${{ hashFiles('**/Cargo.toml') }} + - name: Build bevy run: | cargo build --features "bevy_ci_testing"