From 2ed5d9323a5246bcded2c22ff8a8145b8de78d30 Mon Sep 17 00:00:00 2001 From: Jonatan Czarniecki Date: Sun, 8 Jun 2025 16:26:09 +0200 Subject: [PATCH] fix target reading logic --- .github/actions/build/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/build/action.yml b/.github/actions/build/action.yml index ff55084..c3749c5 100644 --- a/.github/actions/build/action.yml +++ b/.github/actions/build/action.yml @@ -23,9 +23,9 @@ runs: shell: bash run: | targets=() - while IFS=',' read -r target + while read -r target do targets+=("--target" "$target") - done <<< "${{ inputs.targets }}" + done < <(tr , '\n' <<<"${{ inputs.targets }}") declare -p targets > /tmp/targets.sh - name: Check with cargo-fmt