Fix caching: Only cache .cargo/{git, registry}

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2022-06-10 16:53:34 +10:00
parent d4495cc3bb
commit 4ff64dee34
No known key found for this signature in database
GPG key ID: 591C0B03040416D6

View file

@ -73,7 +73,8 @@ jobs:
with: with:
key: ${{ matrix.os }}-${{ matrix.target }} key: ${{ matrix.os }}-${{ matrix.target }}
path: | path: |
${{ env.HOME }}/.cargo ${{ env.HOME }}/.cargo/git
${{ env.HOME }}/.cargo/registry
target target
- name: Install musl-tools - name: Install musl-tools