diff --git a/.github/workflows/build_test_colcon.yaml b/.github/workflows/build_test_colcon.yaml index 90853fb1d8c..e173aa09258 100644 --- a/.github/workflows/build_test_colcon.yaml +++ b/.github/workflows/build_test_colcon.yaml @@ -25,10 +25,14 @@ on: required: true type: string outputs: + build_result: + value: ${{ jobs.test_colcon_workspace.result }} ccache_cache_key: value: ${{ jobs.build_colcon_workspace.outputs.ccache_cache_key }} overlay_cache_key: value: ${{ jobs.test_colcon_workspace.outputs.overlay_cache_key }} + test_result: + value: ${{ jobs.test_colcon_workspace.result }} jobs: build_colcon_workspace: diff --git a/.github/workflows/build_test_integration.yaml b/.github/workflows/build_test_integration.yaml index 7bb8d8193ad..168edfc14c4 100644 --- a/.github/workflows/build_test_integration.yaml +++ b/.github/workflows/build_test_integration.yaml @@ -83,6 +83,7 @@ jobs: build_prod_images: name: Prod uses: ros-navigation/navigation2/.github/workflows/build_prod_images.yaml@buildkit + if: needs.colcon_build_test.outputs.build_result == 'success' secrets: inherit needs: - build_base_images