mirror of
https://github.com/TheLartians/ModernCppStarter.git
synced 2025-08-30 21:51:12 +02:00
Merge envs in workflows (#74)
* also use cache in install test * merge envs
This commit is contained in:
parent
db49d07ca1
commit
b58e0717f4
7 changed files with 14 additions and 15 deletions
5
.github/workflows/documentation.yaml
vendored
5
.github/workflows/documentation.yaml
vendored
|
@ -5,6 +5,9 @@ on:
|
|||
tags:
|
||||
- "*"
|
||||
|
||||
env:
|
||||
CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build and publish documentation
|
||||
|
@ -23,8 +26,6 @@ jobs:
|
|||
pip3 install jinja2 Pygments
|
||||
|
||||
- name: Build
|
||||
env:
|
||||
CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules
|
||||
run: |
|
||||
cmake -Sdocumentation -Bbuild
|
||||
cmake --build build --target GenerateDocs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue