Skip to content

Commit ddad93a

Browse files
committed
Fix sandbox detection: use if/then to avoid non-zero exit under pipefail
1 parent 4aba881 commit ddad93a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-sandboxes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
| cut -d'/' -f2 \
5959
| sort -u \
6060
| while read -r name; do
61-
[ -f "sandboxes/${name}/Dockerfile" ] && echo "$name"
61+
if [ -f "sandboxes/${name}/Dockerfile" ]; then echo "$name"; fi
6262
done \
6363
| jq -R -s -c 'split("\n") | map(select(length > 0))')
6464
fi

0 commit comments

Comments
 (0)