Skip to content

Commit

Permalink
CI: Revert to custom cache action
Browse files Browse the repository at this point in the history
  • Loading branch information
rhaschke committed Oct 13, 2024
1 parent a437d71 commit a883ec2
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit a883ec2

Please sign in to comment.