Skip to content

Commit ba63866

Browse files
committed
latest from moveit2
1 parent 598a521 commit ba63866

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/industrial_ci_action.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,19 @@ jobs:
3030
BASEDIR: ${{ github.workspace }}/.work
3131
CACHE_PREFIX: "${{ matrix.env.IMAGE }}${{ matrix.env.CCOV && '-ccov' || '' }}"
3232

33+
name: "${{ matrix.env.IMAGE }}${{ matrix.env.CCOV && ' + ccov' || ''}}"
3334
runs-on: ubuntu-latest
3435
steps:
3536
- uses: actions/checkout@v2
3637
- name: cache upstream_ws
3738
uses: pat-s/always-upload-cache@v2.1.3
3839
with:
3940
path: ${{ env.BASEDIR }}/upstream_ws
40-
key: upstream_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles('upstream.repos') }}-${{ github.run_id }}
41+
key: upstream_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles('moveit2.repos') }}-${{ github.run_id }}
4142
restore-keys: |
42-
upstream_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles('upstream.repos') }}
43+
upstream_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles('moveit2.repos') }}
4344
- name: cache target_ws
45+
if: ${{ ! env.CCOV }}
4446
uses: pat-s/always-upload-cache@v2.1.3
4547
with:
4648
path: ${{ env.BASEDIR }}/target_ws
@@ -70,12 +72,9 @@ jobs:
7072
with:
7173
files: ${{ env.BASEDIR }}/coverage.info
7274
- name: prepare target_ws for cache
73-
if: always()
74-
run: |
75+
if: ${{ always() && ! env.CCOV }}
76+
run:
7577
du -sh ${{ env.BASEDIR }}/target_ws
76-
sudo find ${{ env.BASEDIR }}/target_ws -name '*.gcov' -type f -delete
77-
sudo find ${{ env.BASEDIR }}/target_ws -name '*.gcno' -type f -delete
78-
sudo find ${{ env.BASEDIR }}/target_ws -name '*.gcda' -type f -delete
79-
sudo find ${{ env.BASEDIR }}/target_ws -name '*/test_results*' -delete
78+
sudo find ${{ env.BASEDIR }}/target_ws -wholename '*/test_results/*' -delete
8079
sudo rm -rf ${{ env.BASEDIR }}/target_ws/src
8180
du -sh ${{ env.BASEDIR }}/target_ws

0 commit comments

Comments
 (0)