change platform cache keys

This commit is contained in:
neil 2022-12-27 07:56:09 +08:00
parent 708d84a658
commit 3e1aaab8f1

View file

@ -157,7 +157,7 @@ jobs:
with:
# The prefix cache key, this can be changed to start a new cache manually.
# default: "v0-rust"
prefix-key: ${{ matrix.platform.os }}
prefix-key: ${{ matrix.platform.name }}
shared-key: ci
cache-targets: false
- name: install app dependencies
@ -168,9 +168,9 @@ jobs:
with:
path: |
./modules/gui/src-tauri/target
key: ${{ matrix.platform }}-build-target
key: ${{ matrix.platform.name }}-build-target
restore-keys: |
${{ matrix.platform }}-build-target
${{ matrix.platform.name }}-build-target
- name: test build tauri
run: pnpm --filter gui tauri build