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:
parent
c731a7216c
commit
34d465e583
2 changed files with 2 additions and 1 deletions
1
.github/workflows/build-windows-intel.yml
vendored
1
.github/workflows/build-windows-intel.yml
vendored
|
|
@ -25,6 +25,7 @@ jobs:
|
|||
id: cache
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
lookup-only: true
|
||||
path: |
|
||||
${{ github.workspace }}/build/sdk
|
||||
${{ github.workspace }}/build/bin
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue