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

use unique key for each workflow

This commit is contained in:
Lars Melchior 2021-01-20 18:47:36 +01:00
parent b884fd6db2
commit 36b0b1fc6e
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: ${{ runner.os }}-cpm-modules-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
key: ${{ github.action }}-cpm-modules-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
- name: Install dependencies
run: |

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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