1
0
mirror of synced 2024-11-13 18:50:53 +01:00

build: Allow invalidating caches easily

This commit is contained in:
WerWolv 2021-12-15 23:57:00 +01:00
parent 1770235648
commit 79ace0a106
3 changed files with 10 additions and 10 deletions

View File

@ -30,8 +30,8 @@ jobs:
with: with:
path: | path: |
~/.ccache ~/.ccache
key: ${{ runner.os }}-build-${{ github.run_id }} key: ${{ runner.os }}-${{ secrets.CACHE_VERSION }}-build-${{ github.run_id }}
restore-keys: ${{ runner.os }}-build- restore-keys: ${{ runner.os }}-${{ secrets.CACHE_VERSION }}-build-
- name: ⬇️ Install dependencies - name: ⬇️ Install dependencies
run: | run: |

View File

@ -26,8 +26,8 @@ jobs:
path: | path: |
~/.ccache ~/.ccache
.flatpak-builder .flatpak-builder
key: ${{ runner.os }}-build-${{ github.run_id }} key: ${{ runner.os }}-${{ secrets.CACHE_VERSION }}-build-${{ github.run_id }}
restore-keys: ${{ runner.os }}-build- restore-keys: ${{ runner.os }}-${{ secrets.CACHE_VERSION }}-build-
- name: ⬇️ Install dependencies - name: ⬇️ Install dependencies
run: | run: |
@ -159,8 +159,8 @@ jobs:
id: cache-ccache id: cache-ccache
with: with:
path: ${{ steps.prep-ccache.outputs.dir }} path: ${{ steps.prep-ccache.outputs.dir }}
key: ${{ runner.os }}-build-${{ github.run_id }} key: ${{ runner.os }}-${{ secrets.CACHE_VERSION }}-build-${{ github.run_id }}
restore-keys: ${{ runner.os }}-build- restore-keys: ${{ runner.os }}-${{ secrets.CACHE_VERSION }}-build-
- name: 🛠️ Build - name: 🛠️ Build
run: | run: |
@ -215,8 +215,8 @@ jobs:
with: with:
path: | path: |
~/.ccache ~/.ccache
key: ${{ runner.os }}-build-${{ github.run_id }} key: ${{ runner.os }}-${{ secrets.CACHE_VERSION }}-build-${{ github.run_id }}
restore-keys: ${{ runner.os }}-build- restore-keys: ${{ runner.os }}-${{ secrets.CACHE_VERSION }}-build-
- name: 🛠️ Build - name: 🛠️ Build
run: | run: |

View File

@ -27,8 +27,8 @@ jobs:
with: with:
path: | path: |
~/.ccache ~/.ccache
key: ${{ runner.os }}-build-${{ github.run_id }} key: ${{ runner.os }}-${{ secrets.CACHE_VERSION }}-build-${{ github.run_id }}
restore-keys: ${{ runner.os }}-build- restore-keys: ${{ runner.os }}-${{ secrets.CACHE_VERSION }}-build-
- name: ⬇️ Install dependencies - name: ⬇️ Install dependencies
run: | run: |