Skip to content

Commit 12b7f1a

Browse files
committed
Skip examples that are opting out
Signed-off-by: Nelo-T. Wallus <red.brush9525@fastmail.com> Signed-off-by: Nelo-T. Wallus <n.wallus@sap.com>
1 parent 2b66f36 commit 12b7f1a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,10 @@ jobs:
106106
run: |
107107
{
108108
echo -n 'examples=['
109-
find examples -mindepth 1 -maxdepth 1 -type d -printf '"%f",'
109+
for example in $(find examples -mindepth 1 -maxdepth 1 -type d -printf '%f'); do
110+
[[ -f "example/$example/.noexample" ]] && continue
111+
echo -n "\"$example\","
112+
done
110113
echo -n ']'
111114
} > "$GITHUB_OUTPUT"
112115
sed -i 's#,]#]#' "$GITHUB_OUTPUT"

examples/platform-mesh/.noexample

Whitespace-only changes.

0 commit comments

Comments
 (0)