Skip to content

Commit

Permalink
try again to cache the target dir
Browse files Browse the repository at this point in the history
  • Loading branch information
progval committed Sep 3, 2023
1 parent 90e8d05 commit 85bc72a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test-devel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,9 @@ jobs:
toolchain: nightly
- name: Enable Cargo cache
uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
workspaces: sable -> sable/target
- run: rustc --version
- name: Build Sable
run: |
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,9 @@ jobs:
toolchain: nightly
- name: Enable Cargo cache
uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
workspaces: sable -> sable/target
- run: rustc --version
- name: Build Sable
run: |
Expand Down
3 changes: 3 additions & 0 deletions workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,9 @@ software:
override: true
- name: Enable Cargo cache
uses: Swatinem/rust-cache@v2
with:
workspaces: "sable -> sable/target"
cache-on-failure: true
- run: rustc --version
separate_build_job: false
build_script: |
Expand Down

0 comments on commit 85bc72a

Please sign in to comment.