From 59d378126944a17b07f588150a7296a557e749dd Mon Sep 17 00:00:00 2001 From: Michael Fabian 'Xaymar' Dirks Date: Sun, 14 May 2023 04:07:43 +0200 Subject: [PATCH] ci: Don't use caches from a different compiler --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 462e60cb..920d68e8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -107,7 +107,7 @@ jobs: uses: actions/cache@v3 with: path: "${{ github.workspace }}/build/obs" - key: "obs${{ env.obs_version }}-obsdeps${{ env.obs_deps_hash }}-qt${{ env.qt_hash }}-${{ env.CACHE_VERSION }}" + key: "obs${{ env.obs_version }}-${{ matrix.runner }}_${{ matrix.compiler }}-obsdeps${{ env.obs_deps_hash }}-qt${{ env.qt_hash }}-${{ env.CACHE_VERSION }}" - name: "Dependency: OBS Libraries" id: obs if: ${{ steps.obs-cache.outputs.cache-hit != 'true' }} @@ -249,7 +249,7 @@ jobs: uses: actions/cache@v3 with: path: "${{ github.workspace }}/build/obs" - key: "obs${{ env.obs_version }}-obsdeps${{ env.obs_deps_hash }}-qt${{ env.qt_hash }}-${{ env.CACHE_VERSION }}" + key: "obs${{ env.obs_version }}-${{ matrix.runner }}_${{ matrix.compiler }}--obsdeps${{ env.obs_deps_hash }}-qt${{ env.qt_hash }}-${{ env.CACHE_VERSION }}" - name: "Dependency: OBS Libraries" id: obs if: ${{ steps.obs-cache.outputs.cache-hit != 'true' }} @@ -397,7 +397,7 @@ jobs: uses: actions/cache@v3 with: path: "${{ github.workspace }}/build/obs" - key: "obs${{ env.obs_version }}-${{ matrix.runner }}-${{ matrix.compiler }}-${{ env.CACHE_VERSION }}" + key: "obs${{ env.obs_version }}-${{ matrix.runner }}_${{ matrix.compiler }}--${{ matrix.runner }}-${{ matrix.compiler }}-${{ env.CACHE_VERSION }}" - name: "Dependency: OBS Libraries" id: obs if: ${{ steps.obs-cache.outputs.cache-hit != 'true' }}