1
0
mirror of synced 2025-01-30 03:27:25 +01:00

git: Tried to fix cache issue with Linux runner

This commit is contained in:
WerWolv 2022-01-14 18:09:55 +01:00
parent 0986527495
commit b34b4c2362

View File

@ -26,8 +26,9 @@ jobs:
path: | path: |
~/.ccache ~/.ccache
.flatpak-builder .flatpak-builder
key: ${{ runner.os }}-${{ secrets.CACHE_VERSION }}-build-${{ github.run_id }} key: ${{ runner.os }}-${{ secrets.CACHE_VERSION }}-build-${{ hashFiles('**/CMakeLists.txt') }}
restore-keys: ${{ runner.os }}-${{ secrets.CACHE_VERSION }}-build- restore-keys: |
${{ runner.os }}-${{ secrets.CACHE_VERSION }}-build-${{ hashFiles('**/CMakeLists.txt') }}
- name: ⬇️ Install dependencies - name: ⬇️ Install dependencies
run: | run: |
@ -162,8 +163,9 @@ jobs:
id: cache-ccache id: cache-ccache
with: with:
path: ${{ steps.prep-ccache.outputs.dir }} path: ${{ steps.prep-ccache.outputs.dir }}
key: ${{ runner.os }}-${{ secrets.CACHE_VERSION }}-build-${{ github.run_id }} key: ${{ runner.os }}-${{ secrets.CACHE_VERSION }}-build-${{ hashFiles('**/CMakeLists.txt') }}
restore-keys: ${{ runner.os }}-${{ secrets.CACHE_VERSION }}-build- restore-keys: |
${{ runner.os }}-${{ secrets.CACHE_VERSION }}-build-${{ hashFiles('**/CMakeLists.txt') }}
- name: 🛠️ Build - name: 🛠️ Build
run: | run: |
@ -221,8 +223,9 @@ jobs:
with: with:
path: | path: |
~/.ccache ~/.ccache
key: ${{ runner.os }}-${{ secrets.CACHE_VERSION }}-build-${{ github.run_id }} key: ${{ runner.os }}-${{ secrets.CACHE_VERSION }}-build-${{ hashFiles('**/CMakeLists.txt') }}
restore-keys: ${{ runner.os }}-${{ secrets.CACHE_VERSION }}-build- restore-keys: |
${{ runner.os }}-${{ secrets.CACHE_VERSION }}-build-${{ hashFiles('**/CMakeLists.txt') }}
- name: 🛠️ Build - name: 🛠️ Build
run: | run: |