From a07d785ca1efeeb6f20bb68b35beb927f97cbbdb Mon Sep 17 00:00:00 2001 From: lights0123 Date: Mon, 5 Apr 2021 17:36:43 -0400 Subject: [PATCH] Ensure cache is valid: ah, it's the target directory --- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bf86783..91abbfa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b68a782..d77703d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: