Skip to content

Commit

Permalink
ci: fix caching.
Browse files Browse the repository at this point in the history
Due to the incorrect path passed to the 'actions/cache' step, industrial_ci was unable to find the ccache cache, leading to it running essentially without ccache enabled (as it had no cache to reuse).
  • Loading branch information
gavanderhoorn committed Jan 21, 2021
1 parent f0fe583 commit 8494993
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci_bionic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ jobs:
- name: ccache cache files
uses: actions/cache@v2
with:
path: ${{ env.CI_NAME }}/.ccache
key: ${{ env.CI_NAME }}-ccache-${{ steps.ccache_cache_timestamp.outputs.timestamp }}
path: ${{ env.OS_CODE_NAME }}/.ccache
key: ${{ env.OS_CODE_NAME }}-ccache-${{ steps.ccache_cache_timestamp.outputs.timestamp }}
restore-keys: |
${{ env.CI_NAME }}-ccache-
${{ env.OS_CODE_NAME }}-ccache-
- uses: 'ros-industrial/industrial_ci@master'
env: ${{matrix.env}}
6 changes: 3 additions & 3 deletions .github/workflows/ci_focal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ jobs:
- name: ccache cache files
uses: actions/cache@v2
with:
path: ${{ env.CI_NAME }}/.ccache
key: ${{ env.CI_NAME }}-ccache-${{ steps.ccache_cache_timestamp.outputs.timestamp }}
path: ${{ env.OS_CODE_NAME }}/.ccache
key: ${{ env.OS_CODE_NAME }}-ccache-${{ steps.ccache_cache_timestamp.outputs.timestamp }}
restore-keys: |
${{ env.CI_NAME }}-ccache-
${{ env.OS_CODE_NAME }}-ccache-
- uses: 'ros-industrial/industrial_ci@master'
env: ${{matrix.env}}

0 comments on commit 8494993

Please sign in to comment.