From 3e7d61d727f1abe8fb83afbb03deed25486cff50 Mon Sep 17 00:00:00 2001 From: John Wason Date: Wed, 31 Jul 2024 15:09:01 -0400 Subject: [PATCH] Use set -e in action bash step --- .github/workflows/mac.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml index 24348cf6c3..c37354106e 100644 --- a/.github/workflows/mac.yml +++ b/.github/workflows/mac.yml @@ -75,6 +75,7 @@ jobs: - name: colcon build working-directory: ws run: | + set -e export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$GITHUB_WORKSPACE/vcpkg/installed/${{ matrix.config.vcpkg_triplet }}/lib export CMAKE_PREFIX_PATH=$GITHUB_WORKSPACE/vcpkg/installed/${{ matrix.config.vcpkg_triplet }} @@ -96,6 +97,7 @@ jobs: - name: colcon test working-directory: ws run: | + set -e export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$GITHUB_WORKSPACE/vcpkg/installed/${{ matrix.config.vcpkg_triplet }}/lib export CMAKE_PREFIX_PATH=$GITHUB_WORKSPACE/vcpkg/installed/${{ matrix.config.vcpkg_triplet }}