Skip to content

Commit

Permalink
fix: use correct syntax for CCACHE_DIR variable
Browse files Browse the repository at this point in the history
Signed-off-by: Max SCHMELLER <max.schmeller@tier4.jp>
  • Loading branch information
mojomex committed Feb 18, 2025
1 parent 898e404 commit 685359e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ jobs:
- name: Attempt to restore ccache
uses: actions/cache/restore@v4
with:
path: |
${CCACHE_DIR}
path: ${{ env.CCACHE_DIR }}
key: ccache-${{ runner.arch }}-${{ matrix.rosdistro }}-${{ github.run_id }}-${{ github.run_attempt }}
restore-keys: |
ccache-${{ runner.arch }}-${{ matrix.rosdistro }}-
Expand All @@ -92,8 +91,7 @@ jobs:
- name: Upload ccache to cache
uses: actions/cache/save@v4
with:
path: |
${CCACHE_DIR}
path: ${{ env.CCACHE_DIR }}
key: ccache-${{ runner.arch }}-${{ matrix.rosdistro }}-${{ github.run_id }}-${{ github.run_attempt }}

- name: Test
Expand Down

0 comments on commit 685359e

Please sign in to comment.