Fix build dir caching

This commit is contained in:
bjorn3 2022-12-01 15:49:34 +00:00
parent d7b02c307d
commit 702a293776
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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