ci cache based on hash of nimble.lock file

This commit is contained in:
Ivan FB 2026-03-30 01:29:24 +02:00
parent b7d9c34e9a
commit 7fc61d56df
No known key found for this signature in database
GPG Key ID: DF0C67A04C543270

View File

@ -154,7 +154,7 @@ jobs:
uses: actions/cache@v4
with:
path: nimbledeps
key: nimbledeps-${{ matrix.builder }}-${{ matrix.platform.cpu }}-${{ hashFiles('.pinned') }}
key: nimbledeps-${{ matrix.builder }}-${{ matrix.platform.cpu }}-${{ hashFiles('nimble.lock') }}
- name: Install deps
if: ${{ steps.deps-cache.outputs.cache-hit != 'true' }}
@ -277,7 +277,7 @@ jobs:
uses: actions/cache@v4
with:
path: nimbledeps
key: nimbledeps-${{ matrix.builder }}-${{ matrix.platform.cpu }}-${{ hashFiles('.pinned') }}
key: nimbledeps-${{ matrix.builder }}-${{ matrix.platform.cpu }}-${{ hashFiles('nimble.lock') }}
- name: Install deps
if: ${{ steps.deps-cache.outputs.cache-hit != 'true' }}