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

replace env.GITHUB_ with github.workspace

This commit is contained in:
Lars Melchior 2021-01-20 18:33:02 +01:00
parent efdf719125
commit 69332a7acc
7 changed files with 8 additions and 6 deletions

View file

@ -23,6 +23,8 @@ jobs:
pip3 install jinja2 Pygments
- name: Build
env:
CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules
run: |
cmake -Sdocumentation -Bbuild
cmake --build build --target GenerateDocs

View file

@ -32,7 +32,7 @@ jobs:
- name: configure
env:
CPM_SOURCE_CACHE: ${{ env.GITHUB_WORKSPACE }}/cpm_modules
CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules
run: cmake -Stest -Bbuild -DTEST_INSTALLED_VERSION=1
- name: build

View file

@ -26,7 +26,7 @@ jobs:
- name: configure
env:
CPM_SOURCE_CACHE: ${{ env.GITHUB_WORKSPACE }}/cpm_modules
CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules
run: cmake -Stest -Bbuild -DCMAKE_BUILD_TYPE=Debug
- name: build

View file

@ -23,7 +23,7 @@ jobs:
- name: configure
env:
CPM_SOURCE_CACHE: ${{ env.GITHUB_WORKSPACE }}/cpm_modules
CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules
run: cmake -Sstandalone -Bbuild -DCMAKE_BUILD_TYPE=Debug -DCMAKE_BUILD_TYPE=Debug
- name: build

View file

@ -28,7 +28,7 @@ jobs:
- name: configure
env:
CPM_SOURCE_CACHE: ${{ env.GITHUB_WORKSPACE }}/cpm_modules
CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules
run: cmake -Stest -Bbuild
- name: check style

View file

@ -27,7 +27,7 @@ jobs:
- name: configure
env:
CPM_SOURCE_CACHE: ${{ env.GITHUB_WORKSPACE }}/cpm_modules
CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules
run: cmake -Stest -Bbuild -DENABLE_TEST_COVERAGE=1 -DCMAKE_BUILD_TYPE=Debug
- name: build

View file

@ -26,7 +26,7 @@ jobs:
- name: configure
env:
CPM_SOURCE_CACHE: ${{ env.GITHUB_WORKSPACE }}/cpm_modules
CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules
run: cmake -Stest -Bbuild
- name: build