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

This commit is contained in:
lights0123 2021-04-05 17:36:43 -04:00
parent 6823ee76f6
commit a07d785ca1
No known key found for this signature in database
GPG key ID: 28F315322E37972F
2 changed files with 2 additions and 2 deletions

View file

@ -61,7 +61,7 @@ jobs:
run: yarn run: yarn
- name: ensure cache is valid - name: ensure cache is valid
if: runner.os != 'Windows' 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 working-directory: ./desktop/src-tauri
- uses: tauri-apps/tauri-action@v0 - uses: tauri-apps/tauri-action@v0
env: env:

View file

@ -85,7 +85,7 @@ jobs:
run: yarn run: yarn
- name: ensure cache is valid - name: ensure cache is valid
if: runner.os != 'Windows' 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 working-directory: ./desktop/src-tauri
- uses: tauri-apps/tauri-action@v0 - uses: tauri-apps/tauri-action@v0
env: env: