From 6126f1f510f878a26c6064cbf3f47784eac83fa2 Mon Sep 17 00:00:00 2001
From: ruffsl <roxfoxpox@gmail.com>
Date: Wed, 10 Jul 2024 15:09:02 +0000
Subject: [PATCH] Use always() in if condition to force github actions to
 complete workflow

---
 .github/workflows/build_test_integration.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/build_test_integration.yaml b/.github/workflows/build_test_integration.yaml
index 168edfc14c..c3f3f0011e 100644
--- a/.github/workflows/build_test_integration.yaml
+++ b/.github/workflows/build_test_integration.yaml
@@ -83,7 +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'
+    if:  ${{ always() && (needs.colcon_build_test.outputs.build_result == 'success') }}
     secrets: inherit
     needs:
       - build_base_images