|
1 | 1 | # This config uses industrial_ci (https://github.com/ros-industrial/industrial_ci.git).
|
2 | 2 | # For troubleshooting, see readme (https://github.com/ros-industrial/industrial_ci/blob/master/README.rst)
|
3 | 3 |
|
4 |
| -name: BuildAndTest |
| 4 | +name: Build and Test |
5 | 5 |
|
6 | 6 | on:
|
7 | 7 | workflow_dispatch:
|
@@ -31,30 +31,32 @@ jobs:
|
31 | 31 | name: "${{ matrix.env.ROS_DISTRO }} + ${{ matrix.env.ROS_REPO }}${{ matrix.env.CLANG_TIDY && ' + clang-tidy' || '' }}"
|
32 | 32 | runs-on: ubuntu-latest
|
33 | 33 | steps:
|
34 |
| - - uses: actions/checkout@v3 |
| 34 | + - uses: actions/checkout@v4 |
35 | 35 | # The target directory cache doesn't include the source directory because
|
36 | 36 | # that comes from the checkout. See "prepare target_ws for cache" task below
|
37 | 37 | - name: cache target_ws
|
38 | 38 | if: ${{ ! matrix.env.CCOV }}
|
39 |
| - uses: pat-s/always-upload-cache@v3 |
| 39 | + uses: actions/cache@v4 |
40 | 40 | with:
|
| 41 | + save-always: true |
41 | 42 | path: ${{ env.BASEDIR }}/target_ws
|
42 | 43 | key: target_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles('**/CMakeLists.txt', '**/package.xml') }}-${{ github.run_id }}
|
43 | 44 | restore-keys: |
|
44 | 45 | target_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles('**/CMakeLists.txt', '**/package.xml') }}
|
45 | 46 | - name: cache ccache
|
46 |
| - uses: pat-s/always-upload-cache@v3 |
| 47 | + uses: actions/cache@v4 |
47 | 48 | with:
|
| 49 | + save-always: true |
48 | 50 | path: ${{ env.CCACHE_DIR }}
|
49 | 51 | key: ccache-${{ env.CACHE_PREFIX }}-${{ github.sha }}-${{ github.run_id }}
|
50 | 52 | restore-keys: |
|
51 | 53 | ccache-${{ env.CACHE_PREFIX }}-${{ github.sha }}
|
52 | 54 | ccache-${{ env.CACHE_PREFIX }}-
|
53 | 55 | - name: industrial_ci
|
54 |
| - uses: 'tylerjw/industrial_ci@clang-tidy-modified-filter' |
| 56 | + uses: ros-industrial/industrial_ci@master |
55 | 57 | env: ${{ matrix.env }}
|
56 | 58 | - name: upload test artifacts (on failure)
|
57 |
| - uses: actions/upload-artifact@v2 |
| 59 | + uses: actions/upload-artifact@v4 |
58 | 60 | if: failure()
|
59 | 61 | with:
|
60 | 62 | name: test-results
|
|
0 commit comments