From f77c5d9cda19f6508e967e63a0be223820c1c377 Mon Sep 17 00:00:00 2001 From: Michael Rommel Date: Sat, 17 Feb 2024 14:46:05 +0100 Subject: [PATCH] Fix IFS usage --- .github/workflows/draw-zmk.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/draw-zmk.yml b/.github/workflows/draw-zmk.yml index f672389..66072e6 100644 --- a/.github/workflows/draw-zmk.yml +++ b/.github/workflows/draw-zmk.yml @@ -105,7 +105,6 @@ jobs: done } - IFS=',' declare -a DRAWINGS mkdir -p "${{ inputs.output_folder }}" @@ -131,8 +130,10 @@ jobs: || echo "ERROR: parsing or drawing failed for $keyboard!" DRAWINGS+=(\"${{ inputs.output_folder }}/$keyboard.yaml\" \"${{ inputs.output_folder }}/$keyboard.svg\") done + IFS=',' echo "DRAWINGS=[${DRAWINGS[*]}]" >> $GITHUB_OUTPUT - + unset IFS + - name: Get last commit message id: last_commit_message if: inputs.amend_commit == true && (inputs.destination == 'commit' || inputs.destination == 'both')