build: Allow invalidating caches easily
This commit is contained in:
parent
1770235648
commit
79ace0a106
4
.github/workflows/analysis.yml
vendored
4
.github/workflows/analysis.yml
vendored
@ -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: |
|
||||||
|
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@ -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: |
|
||||||
|
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
@ -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: |
|
||||||
|
Loading…
Reference in New Issue
Block a user