Ensure cache is valid

This commit is contained in:
lights0123 2021-04-05 17:29:00 -04:00
parent d2a30f97f8
commit f90d912568
No known key found for this signature in database
GPG key ID: 28F315322E37972F
3 changed files with 11 additions and 3 deletions

View file

@ -59,6 +59,10 @@ jobs:
sudo apt-get install -y webkit2gtk-4.0 squashfs-tools
- name: install app dependencies
run: yarn
- name: ensure cache is valid
if: runner.os != 'Windows'
run: cargo check || rm -rf ~/.cargo/registry
working-directory: ./desktop/src-tauri
- uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View file

@ -83,6 +83,10 @@ jobs:
sudo apt-get install -y webkit2gtk-4.0 squashfs-tools
- name: install app dependencies
run: yarn
- name: ensure cache is valid
if: runner.os != 'Windows'
run: cargo check || rm -rf ~/.cargo/registry
working-directory: ./desktop/src-tauri
- uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View file

@ -3435,9 +3435,9 @@ caniuse-api@^3.0.0:
lodash.uniq "^4.5.0"
caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000981, caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.30001133, caniuse-lite@^1.0.30001135:
version "1.0.30001143"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001143.tgz#560f2cfb9f313d1d7e52eb8dac0e4e36c8821c0d"
integrity sha512-p/PO5YbwmCpBJPxjOiKBvAlUPgF8dExhfEpnsH+ys4N/791WHrYrGg0cyHiAURl5hSbx5vIcjKmQAP6sHDYH3w==
version "1.0.30001207"
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001207.tgz"
integrity sha512-UPQZdmAsyp2qfCTiMU/zqGSWOYaY9F9LL61V8f+8MrubsaDGpaHD9HRV/EWZGULZn0Hxu48SKzI5DgFwTvHuYw==
case-sensitive-paths-webpack-plugin@^2.3.0:
version "2.3.0"