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:
parent
3a1747d772
commit
9733007236
6 changed files with 15 additions and 5 deletions
4
.github/workflows/install.yml
vendored
4
.github/workflows/install.yml
vendored
|
@ -31,7 +31,9 @@ jobs:
|
|||
rm -rf build
|
||||
|
||||
- name: configure
|
||||
run: cmake -Stest -Bbuild -DCPM_SOURCE_CACHE=$(pwd)/cpm_modules -DTEST_INSTALLED_VERSION=1
|
||||
env:
|
||||
CPM_SOURCE_CACHE: ${{ env.GITHUB_WORKSPACE }}/cpm_modules
|
||||
run: cmake -Stest -Bbuild -DTEST_INSTALLED_VERSION=1
|
||||
|
||||
- name: build
|
||||
run: cmake --build build --config Debug -j4
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue