Skip to content

Commit 9787dcc

Browse files
committed
Throw github errors when OpenOCD builds fail
1 parent cb6a1d0 commit 9787dcc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build_linux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ done < <(echo "$repos")
4646
cd $builddir
4747
if [[ "$SKIP_OPENOCD" != 1 ]]; then
4848
if ! ../packages/linux/openocd/build-openocd.sh; then
49-
echo "OpenOCD Build failed"
49+
echo "::error title=openocd-fail-${suffix}::OpenOCD Build Failed on Linux $(uname -m)"
5050
SKIP_OPENOCD=1
5151
fi
5252
fi

build_macos.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ done < <(echo "$repos")
5353
cd $builddir
5454
if [[ "$SKIP_OPENOCD" != 1 ]] && [[ $(uname -m) == 'arm64' ]]; then
5555
if ! ../packages/macos/openocd/build-openocd.sh; then
56-
echo "OpenOCD Build failed"
56+
echo "::error title=openocd-fail-macos::OpenOCD Build Failed on macOS"
5757
SKIP_OPENOCD=1
5858
fi
5959
fi

0 commit comments

Comments
 (0)