Ensure cache is valid: ah, it's the target directory

This commit is contained in:
lights0123 2021-04-05 17:36:43 -04:00 committed by Ben Schattinger
parent d916322998
commit 8785bedcb6
2 changed files with 2 additions and 2 deletions

View file

@ -61,7 +61,7 @@ jobs:
run: yarn
- name: ensure cache is valid
if: runner.os != 'Windows'
run: cargo build --release || rm -rf ~/.cargo/registry
run: cargo build --release || rm -rf desktop/src-tauri/target
working-directory: ./desktop/src-tauri
- uses: tauri-apps/tauri-action@v0
env:

View file

@ -85,7 +85,7 @@ jobs:
run: yarn
- name: ensure cache is valid
if: runner.os != 'Windows'
run: cargo build --release || rm -rf ~/.cargo/registry
run: cargo build --release || rm -rf desktop/src-tauri/target
working-directory: ./desktop/src-tauri
- uses: tauri-apps/tauri-action@v0
env: