mirror of
https://github.com/TheLartians/ModernCppStarter.git
synced 2025-09-06 00:41:01 +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/style.yml
vendored
4
.github/workflows/style.yml
vendored
|
@ -27,7 +27,9 @@ jobs:
|
|||
pip3 install cmake_format==0.6.11 pyyaml
|
||||
|
||||
- name: configure
|
||||
run: cmake -Stest -Bbuild -DCPM_SOURCE_CACHE=$(pwd)/cpm_modules
|
||||
env:
|
||||
CPM_SOURCE_CACHE: ${{ env.GITHUB_WORKSPACE }}/cpm_modules
|
||||
run: cmake -Stest -Bbuild
|
||||
|
||||
- name: check style
|
||||
run: cmake --build build --target check-format
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue