Closed ConnorY97 closed 3 months ago
I believe the issue is linked with this error in the Configure CMake step for windows:
2024-07-24T07:10:27.6339888Z ##[endgroup]
2024-07-24T07:10:32.6391284Z CMake Warning:
2024-07-24T07:10:32.6391923Z Ignoring extra path from command line:
2024-07-24T07:10:32.6392313Z
2024-07-24T07:10:32.6392470Z ".cpm"
2024-07-24T07:10:32.6392638Z
2024-07-24T07:10:32.6392644Z
The issue was, Windows did not know what ~/.cpm
was. So we implemented different paths for Windows and Linux:
- name: Restore CPM cache
uses: actions/cache@v4
with:
path: |
~/.cpm
${{ github.workspace }}/.cpm
key: ${{ runner.os }}-cpm-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
restore-keys: |
${{ runner.os }}-cpm-
This have solved the issue
Need to investigate why caches are not being found.