Skip to content

Commit

Permalink
Fix IFS usage
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelrommel authored Feb 17, 2024
1 parent ba047c9 commit f77c5d9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/draw-zmk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ jobs:
done
}
IFS=','
declare -a DRAWINGS
mkdir -p "${{ inputs.output_folder }}"
Expand All @@ -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')
Expand Down

0 comments on commit f77c5d9

Please sign in to comment.