From a883ec293fea5444c76794a18a65fd8a269a010f Mon Sep 17 00:00:00 2001 From: Robert Haschke Date: Sun, 13 Oct 2024 17:48:11 +0200 Subject: [PATCH] CI: Revert to custom cache action --- .github/workflows/ci.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 013e5e9..42f53a9 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -30,22 +30,24 @@ jobs: steps: - uses: actions/checkout@v4 - name: cache upstream_ws - uses: actions/cache@v4 + uses: rhaschke/cache@main with: - save-always: true path: ${{ env.BASEDIR }}/upstream_ws key: upstream_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles('upstream.rosinstall') }}-${{ github.run_id }} restore-keys: | upstream_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles('upstream.rosinstall') }} + env: + GHA_CACHE_SAVE: always - name: cache ccache - uses: actions/cache@v4 + uses: rhaschke/cache@main with: - save-always: true path: ${{ env.CCACHE_DIR }} key: ccache-${{ env.CACHE_PREFIX }}-${{ github.sha }}-${{ github.run_id }} restore-keys: | ccache-${{ env.CACHE_PREFIX }}-${{ github.sha }} ccache-${{ env.CACHE_PREFIX }} + env: + GHA_CACHE_SAVE: always - name: industrial_ci uses: ros-industrial/industrial_ci@master env: ${{ matrix.env }}