Skip to content

Commit a883ec2

Browse files
committed
CI: Revert to custom cache action
1 parent a437d71 commit a883ec2

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,22 +30,24 @@ jobs:
3030
steps:
3131
- uses: actions/checkout@v4
3232
- name: cache upstream_ws
33-
uses: actions/cache@v4
33+
uses: rhaschke/cache@main
3434
with:
35-
save-always: true
3635
path: ${{ env.BASEDIR }}/upstream_ws
3736
key: upstream_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles('upstream.rosinstall') }}-${{ github.run_id }}
3837
restore-keys: |
3938
upstream_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles('upstream.rosinstall') }}
39+
env:
40+
GHA_CACHE_SAVE: always
4041
- name: cache ccache
41-
uses: actions/cache@v4
42+
uses: rhaschke/cache@main
4243
with:
43-
save-always: true
4444
path: ${{ env.CCACHE_DIR }}
4545
key: ccache-${{ env.CACHE_PREFIX }}-${{ github.sha }}-${{ github.run_id }}
4646
restore-keys: |
4747
ccache-${{ env.CACHE_PREFIX }}-${{ github.sha }}
4848
ccache-${{ env.CACHE_PREFIX }}
49+
env:
50+
GHA_CACHE_SAVE: always
4951
- name: industrial_ci
5052
uses: ros-industrial/industrial_ci@master
5153
env: ${{ matrix.env }}

0 commit comments

Comments
 (0)