fix test.yml workflow syntax issue 3

This commit is contained in:
Clément DOUIN 2024-09-17 08:08:36 +02:00
parent 0cf6ba01ce
commit 6b2e018ea3
No known key found for this signature in database
GPG key ID: 353E4A18EE0FAB72

View file

@ -39,7 +39,7 @@ jobs:
extraPullNames: nix-community extraPullNames: nix-community
- name: Restore Cargo home - name: Restore Cargo home
uses: actions/cache/restore@v4 uses: actions/cache/restore@v4
id: cache-cargo-home id: cache-cargo-restore
with: with:
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
path: | path: |
@ -59,9 +59,9 @@ jobs:
result/himalaya.zip result/himalaya.zip
- name: Save Cargo home - name: Save Cargo home
uses: actions/cache/save@v4 uses: actions/cache/save@v4
id: cache-cargo-home id: cache-cargo-save
with: with:
key: ${{ steps.cache-cargo-home.outputs.cache-primary-key }} key: ${{ steps.cache-cargo-restore.outputs.cache-primary-key }}
path: | path: |
~/.cargo/bin/ ~/.cargo/bin/
~/.cargo/registry/index/ ~/.cargo/registry/index/