Skip to content

Commit 426af1e

Browse files
committed
CI: Return to custom cache action
1 parent c98147c commit 426af1e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,24 +38,24 @@ jobs:
3838
# that comes from the checkout. See "prepare target_ws for cache" task below
3939
- name: Cache target workspace
4040
if: "!matrix.env.CCOV"
41-
uses: actions/cache@v4
41+
uses: rhaschke/cache@main
4242
with:
43-
save-always: true
4443
path: ${{ env.BASEDIR }}/target_ws
4544
key: ${{ env.CACHE_PREFIX }}-${{ github.run_id }}
4645
restore-keys: ${{ env.CACHE_PREFIX }}
4746
env:
47+
GHA_CACHE_SAVE: always
4848
CACHE_PREFIX: target_ws-${{ matrix.env.IMAGE }}-${{ hashFiles('**/CMakeLists.txt', '**/package.xml') }}
4949
- name: Cache ccache
50-
uses: actions/cache@v4
50+
uses: rhaschke/cache@main
5151
with:
52-
save-always: true
5352
path: ${{ env.CCACHE_DIR }}
5453
key: ${{ env.CACHE_PREFIX }}-${{ github.sha }}-${{ github.run_id }}
5554
restore-keys: |
5655
${{ env.CACHE_PREFIX }}-${{ github.sha }}
5756
${{ env.CACHE_PREFIX }}
5857
env:
58+
GHA_CACHE_SAVE: always
5959
CACHE_PREFIX: ccache-${{ matrix.env.IMAGE }}
6060

6161
- name: Run industrial_ci

0 commit comments

Comments
 (0)