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

format workflow files

This commit is contained in:
Lars Melchior 2021-01-20 18:36:43 +01:00
parent 69332a7acc
commit f0a1e58618
7 changed files with 19 additions and 25 deletions

View file

@ -3,7 +3,7 @@ name: Documentation
on:
push:
tags:
- '*'
- "*"
jobs:
build:
@ -14,7 +14,7 @@ jobs:
- uses: actions/cache@v2
with:
path: '**/cpm_modules'
path: "**/cpm_modules"
key: ${{ runner.os }}-cpm-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
- name: Install dependencies
@ -24,7 +24,7 @@ jobs:
- name: Build
env:
CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules
CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules
run: |
cmake -Sdocumentation -Bbuild
cmake --build build --target GenerateDocs

View file

@ -13,15 +13,14 @@ env:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/cache@v2
with:
path: '**/cpm_modules'
path: "**/cpm_modules"
key: ${{ runner.os }}-cpm-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
- name: build and install library

View file

@ -13,15 +13,14 @@ env:
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
- uses: actions/cache@v2
with:
path: '**/cpm_modules'
path: "**/cpm_modules"
key: ${{ runner.os }}-cpm-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
- name: configure

View file

@ -10,15 +10,14 @@ on:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/cache@v2
with:
path: '**/cpm_modules'
path: "**/cpm_modules"
key: ${{ runner.os }}-cpm-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
- name: configure

View file

@ -10,15 +10,14 @@ on:
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
- uses: actions/cache@v2
with:
path: '**/cpm_modules'
path: "**/cpm_modules"
key: ${{ runner.os }}-cpm-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
- name: Install format dependencies

View file

@ -14,15 +14,14 @@ env:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/cache@v2
with:
path: '**/cpm_modules'
path: "**/cpm_modules"
key: ${{ runner.os }}-cpm-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
- name: configure

View file

@ -13,15 +13,14 @@ env:
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- uses: actions/cache@v2
with:
path: '**/cpm_modules'
path: "**/cpm_modules"
key: ${{ runner.os }}-cpm-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
- name: configure