Fix cache

This commit is contained in:
Arnaud 2025-12-18 12:23:11 +01:00
parent 728845b5f4
commit 23233dc8e2
No known key found for this signature in database
GPG Key ID: 20E40A5D3110766F

View File

@ -101,14 +101,14 @@ jobs:
nim_version: ${{ env.nim_version }}
- name: Record submodule commit
run: git -C vendor/nim-codex rev-parse HEAD > vendor/logos-storage-nim/.storage-commit
run: git -C . rev-parse HEAD > .storage-commit
- name: Cache libstorage build
id: cache-libstorage
uses: actions/cache@v4
with:
path: vendor/logos-storage-nim/build
key: ${{ runner.os }}-libstorage-${{ hashFiles('vendor/logos-storage-nim/.storage-commit') }}
path: ./build
key: ${{ runner.os }}-libstorage-${{ hashFiles('.storage-commit') }}
- name: C Binding build
if: steps.cache-libstorage.outputs.cache-hit != 'true'