mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-04 06:23:06 +00:00
Fix cache
This commit is contained in:
parent
728845b5f4
commit
23233dc8e2
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -101,14 +101,14 @@ jobs:
|
|||||||
nim_version: ${{ env.nim_version }}
|
nim_version: ${{ env.nim_version }}
|
||||||
|
|
||||||
- name: Record submodule commit
|
- 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
|
- name: Cache libstorage build
|
||||||
id: cache-libstorage
|
id: cache-libstorage
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: vendor/logos-storage-nim/build
|
path: ./build
|
||||||
key: ${{ runner.os }}-libstorage-${{ hashFiles('vendor/logos-storage-nim/.storage-commit') }}
|
key: ${{ runner.os }}-libstorage-${{ hashFiles('.storage-commit') }}
|
||||||
|
|
||||||
- name: C Binding build
|
- name: C Binding build
|
||||||
if: steps.cache-libstorage.outputs.cache-hit != 'true'
|
if: steps.cache-libstorage.outputs.cache-hit != 'true'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user