Skip to content

Commit

Permalink
fix(clang-tidy, colcon-build, colcon-test): add cmake-build-type to c…
Browse files Browse the repository at this point in the history
…ache key (#186)

Signed-off-by: Kenji Miyake <[email protected]>

Signed-off-by: Kenji Miyake <[email protected]>
  • Loading branch information
kenji-miyake authored Sep 28, 2022
1 parent ebc6112 commit e032ce3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion clang-tidy/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ runs:
path: |
./build
./install
key: build-${{ inputs.rosdistro }}-${{ runner.os }}-${{ runner.arch }}-${{ github.sha }}
key: build-${{ inputs.rosdistro }}-${{ runner.os }}-${{ runner.arch }}-${{ inputs.cmake-build-type }}-${{ github.sha }}

- name: Build
if: ${{ steps.restore-build-files.outputs.cache-hit != 'true' }}
Expand Down
2 changes: 1 addition & 1 deletion colcon-build/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@ runs:
path: |
./build
./install
key: build-${{ inputs.rosdistro }}-${{ runner.os }}-${{ runner.arch }}-${{ github.sha }}
key: build-${{ inputs.rosdistro }}-${{ runner.os }}-${{ runner.arch }}-${{ inputs.cmake-build-type }}-${{ github.sha }}
2 changes: 1 addition & 1 deletion colcon-test/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ runs:
path: |
./build
./install
key: build-${{ inputs.rosdistro }}-${{ runner.os }}-${{ runner.arch }}-${{ github.sha }}
key: build-${{ inputs.rosdistro }}-${{ runner.os }}-${{ runner.arch }}-${{ inputs.cmake-build-type }}-${{ github.sha }}

- name: Test
run: |
Expand Down

0 comments on commit e032ce3

Please sign in to comment.