From 6bf912e487d93d825e9cd34e2f04fc2f9f7e8141 Mon Sep 17 00:00:00 2001 From: hgy59 Date: Mon, 7 Oct 2024 17:50:51 +0200 Subject: [PATCH] github action: omit broken packages in dependency-list - do not evaluate dependencies for broken packages --- .github/actions/prepare.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/actions/prepare.sh b/.github/actions/prepare.sh index 3bcdf57e5d0..8e940a041f8 100755 --- a/.github/actions/prepare.sh +++ b/.github/actions/prepare.sh @@ -31,7 +31,9 @@ echo "Building dependency list..." DEPENDENCY_LIST= for package in $(find spk/ -maxdepth 1 -type d | cut -c 5- | sort) do - DEPENDENCY_LIST+=$(DEPENDENCY_WALK=1 make -s -C spk/${package} dependency-list 2> /dev/null)$'\n' + if [ ! -f "./spk/${package}/BROKEN" ]; then + DEPENDENCY_LIST+=$(DEPENDENCY_WALK=1 make -s -C spk/${package} dependency-list 2> /dev/null)$'\n' + fi done # search for dependent spk packages