add more keys to cargo caching

This commit is contained in:
neil 2022-11-23 13:55:11 +08:00
parent a9d723d786
commit ee6ef6e179
2 changed files with 2 additions and 0 deletions

View file

@ -86,6 +86,7 @@ jobs:
# The prefix cache key, this can be changed to start a new cache manually.
# default: "v0-rust"
prefix-key: ${{ matrix.platform }}
shared-key: ci
cache-targets: false
- name: install app dependencies
run: pnpm install

View file

@ -81,6 +81,7 @@ jobs:
# The prefix cache key, this can be changed to start a new cache manually.
# default: "v0-rust"
prefix-key: ${{ matrix.platform }}
shared-key: prod
cache-targets: false
- name: install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-latest'