From 36b0b1fc6e9b59bcde8377d4b75359d89db5cf4a Mon Sep 17 00:00:00 2001 From: Lars Melchior Date: Wed, 20 Jan 2021 18:47:36 +0100 Subject: [PATCH] use unique key for each workflow --- .github/workflows/documentation.yaml | 2 +- .github/workflows/install.yml | 2 +- .github/workflows/macos.yml | 2 +- .github/workflows/standalone.yml | 2 +- .github/workflows/style.yml | 2 +- .github/workflows/ubuntu.yml | 2 +- .github/workflows/windows.yml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/documentation.yaml b/.github/workflows/documentation.yaml index 7c262e9..c745d66 100644 --- a/.github/workflows/documentation.yaml +++ b/.github/workflows/documentation.yaml @@ -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: | diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index 78f29ee..8dab9a5 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -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: | diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 947d707..d2aa7ce 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -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: diff --git a/.github/workflows/standalone.yml b/.github/workflows/standalone.yml index 693a379..6827eb4 100644 --- a/.github/workflows/standalone.yml +++ b/.github/workflows/standalone.yml @@ -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: diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index 1b66168..711900c 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -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: | diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index e16c60d..ca2c86d 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -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: diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 1a6c2c5..6d6e1b4 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -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: