1
0
Fork 0
mirror of https://github.com/TheLartians/ModernCppStarter.git synced 2025-09-03 23:50:53 +02:00

use env for all workflows

This commit is contained in:
Lars Melchior 2021-01-20 18:25:29 +01:00
parent 3a1747d772
commit 9733007236
6 changed files with 15 additions and 5 deletions

View file

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