From 702a293776e0ddc76c12dea6ffb30c3900124deb Mon Sep 17 00:00:00 2001 From: bjorn3 <17426603+bjorn3@users.noreply.github.com> Date: Thu, 1 Dec 2022 15:49:34 +0000 Subject: [PATCH] Fix build dir caching --- .github/workflows/main.yml | 4 ++-- .github/workflows/rustc.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index de3c89f3383..424ede36145 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -63,7 +63,7 @@ jobs: - name: Cache cargo target dir uses: actions/cache@v3 with: - path: target + path: build/cg_clif key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('rust-toolchain', '**/Cargo.lock') }} - name: Install MinGW toolchain and wine @@ -164,7 +164,7 @@ jobs: - name: Cache cargo target dir uses: actions/cache@v3 with: - path: target + path: build/cg_clif key: ${{ runner.os }}-${{ matrix.env.TARGET_TRIPLE }}-cargo-build-target-${{ hashFiles('rust-toolchain', '**/Cargo.lock') }} - name: Set MinGW as the default toolchain diff --git a/.github/workflows/rustc.yml b/.github/workflows/rustc.yml index a78d6b231d3..bef806318ef 100644 --- a/.github/workflows/rustc.yml +++ b/.github/workflows/rustc.yml @@ -27,7 +27,7 @@ jobs: - name: Cache cargo target dir uses: actions/cache@v3 with: - path: target + path: build/cg_clif key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('rust-toolchain', '**/Cargo.lock') }} - name: Prepare dependencies @@ -65,7 +65,7 @@ jobs: - name: Cache cargo target dir uses: actions/cache@v3 with: - path: target + path: build/cg_clif key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('rust-toolchain', '**/Cargo.lock') }} - name: Prepare dependencies