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

make cache keys OS dependent

This commit is contained in:
Lars Melchior 2021-01-20 18:26:57 +01:00
parent 9733007236
commit efdf719125
7 changed files with 7 additions and 7 deletions

View file

@ -15,7 +15,7 @@ jobs:
- uses: actions/cache@v2
with:
path: '**/cpm_modules'
key: cpm-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
key: ${{ runner.os }}-cpm-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
- name: Install dependencies
run: |

View file

@ -22,7 +22,7 @@ jobs:
- uses: actions/cache@v2
with:
path: '**/cpm_modules'
key: cpm-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
key: ${{ runner.os }}-cpm-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
- name: build and install library
run: |

View file

@ -22,7 +22,7 @@ jobs:
- uses: actions/cache@v2
with:
path: '**/cpm_modules'
key: cpm-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
key: ${{ runner.os }}-cpm-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
- name: configure
env:

View file

@ -19,7 +19,7 @@ jobs:
- uses: actions/cache@v2
with:
path: '**/cpm_modules'
key: cpm-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
key: ${{ runner.os }}-cpm-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
- name: configure
env:

View file

@ -19,7 +19,7 @@ jobs:
- uses: actions/cache@v2
with:
path: '**/cpm_modules'
key: cpm-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
key: ${{ runner.os }}-cpm-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
- name: Install format dependencies
run: |

View file

@ -23,7 +23,7 @@ jobs:
- uses: actions/cache@v2
with:
path: '**/cpm_modules'
key: cpm-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
key: ${{ runner.os }}-cpm-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
- name: configure
env:

View file

@ -22,7 +22,7 @@ jobs:
- uses: actions/cache@v2
with:
path: '**/cpm_modules'
key: cpm-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
key: ${{ runner.os }}-cpm-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
- name: configure
env: