1
0
Fork 0
mirror of https://github.com/TheLartians/ModernCppStarter.git synced 2025-08-30 21:51:12 +02:00

experiment with env variable

This commit is contained in:
Lars Melchior 2021-01-20 18:18:59 +01:00
parent ef4d37738f
commit b1781e9428

View file

@ -25,9 +25,9 @@ jobs:
key: cpm-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
- name: configure
run: |
mkdir -p cpm_modules
cmake -Stest -Bbuild -DCPM_SOURCE_CACHE=$(pwd)/cpm_modules
env:
CPM_SOURCE_CACHE: ${{GITHUB_WORKSPACE}}/cpm_modules
run: cmake -Stest -Bbuild
- name: build
run: cmake --build build --config Debug -j4