Skip to content

Commit 5f47fea

Browse files
committed
cursed AF
1 parent 204c0a4 commit 5f47fea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ jobs:
6969
7070
# Temp globs
7171
# The action will need to get this from inputs somehow
72-
readarray -t -d $'\t' GLOBS < <(yq --output-format=tsv --null-input '["*.adoc", ".github/**"]')
72+
# This is cursed... we use `.[] | .` to remove quotes and any yaml formatting.
73+
readarray -t GLOBS < <(yq --null-input '["*.adoc", ".github/**"]' | yq '.[] | .')
7374
7475
for GLOB in "${GLOBS[@]}"; do
75-
echo "$GLOB"
7676
git diff --name-only "${BASE_SHA}.." -- "$GLOB"
7777
done
7878

0 commit comments

Comments
 (0)