chore: assign target for rust-cache (#1005)

Co-authored-by: himself65 <himself65@outlook.com>
Co-authored-by: Whitewater <me@waterwater.moe>
This commit is contained in:
lin onetwo 2023-02-15 12:45:19 +08:00 committed by GitHub
parent 5a0e4895cd
commit 5c505807b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,9 @@ permissions:
security-events: write
concurrency:
group: release-ci-group
# The concurrency group contains the workflow name and the branch name for
# pull requests or the commit hash for any other events.
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
cancel-in-progress: true
jobs:
@ -95,6 +97,10 @@ jobs:
${{ runner.os }}-pnpm-store-
- name: Get rust cache
uses: Swatinem/rust-cache@v2
id: rust-cache
with:
workspaces: |
apps/desktop/src-tauri
- name: Install dependencies
run: pnpm i -r