1
0
Fork 0
forked from lthn/blockchain

Update caching logic in CI workflows to enable lookup-only mode and adjust ccache usage for non-Windows platforms

This commit is contained in:
snider 2025-10-06 21:24:50 +01:00
parent c731a7216c
commit 34d465e583
2 changed files with 2 additions and 1 deletions

View file

@ -25,6 +25,7 @@ jobs:
id: cache
uses: actions/cache@v4
with:
lookup-only: true
path: |
${{ github.workspace }}/build/sdk
${{ github.workspace }}/build/bin

View file

@ -30,7 +30,7 @@ endif()
include(DocBuilder)
option (USE_CCACHE "Use ccache if a usable instance is found" ON)
if (USE_CCACHE)
if (USE_CCACHE AND NOT WIN32)
include(FindCcache)
else()
message(STATUS "ccache deselected")