mirror of
https://github.com/lights0123/n-link.git
synced 2024-12-22 10:15:27 +00:00
Ensure cache is valid: ah, it's the target directory
This commit is contained in:
parent
6823ee76f6
commit
a07d785ca1
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -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:
|
||||
|
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue