Skip to content

Commit 702a293

Browse files
committed
Fix build dir caching
1 parent d7b02c3 commit 702a293

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
- name: Cache cargo target dir
6464
uses: actions/cache@v3
6565
with:
66-
path: target
66+
path: build/cg_clif
6767
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('rust-toolchain', '**/Cargo.lock') }}
6868

6969
- name: Install MinGW toolchain and wine
@@ -164,7 +164,7 @@ jobs:
164164
- name: Cache cargo target dir
165165
uses: actions/cache@v3
166166
with:
167-
path: target
167+
path: build/cg_clif
168168
key: ${{ runner.os }}-${{ matrix.env.TARGET_TRIPLE }}-cargo-build-target-${{ hashFiles('rust-toolchain', '**/Cargo.lock') }}
169169

170170
- name: Set MinGW as the default toolchain

.github/workflows/rustc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Cache cargo target dir
2828
uses: actions/cache@v3
2929
with:
30-
path: target
30+
path: build/cg_clif
3131
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('rust-toolchain', '**/Cargo.lock') }}
3232

3333
- name: Prepare dependencies
@@ -65,7 +65,7 @@ jobs:
6565
- name: Cache cargo target dir
6666
uses: actions/cache@v3
6767
with:
68-
path: target
68+
path: build/cg_clif
6969
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('rust-toolchain', '**/Cargo.lock') }}
7070

7171
- name: Prepare dependencies

0 commit comments

Comments
 (0)