Skip to content

Commit 75bfa9b

Browse files
ci: ignore empty lines in target list
1 parent 6008c4a commit 75bfa9b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/build-and-test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ jobs:
234234
mkdir -p dist
235235
236236
while IFS= read -r target; do
237+
[[ -z "$target" ]] && continue
237238
dir="binary-${target}"
238239
if [[ ! -d "$dir" ]]; then
239240
echo "::error::artifact for $target not found"

0 commit comments

Comments
 (0)