Skip to content

Commit

Permalink
ci: Fix empty arg caused by a quoted $debug_arg (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
leoferaderonugraha authored Jan 22, 2025
1 parent 65099ce commit 3e25b20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/draw-zmk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ jobs:
tmp_yaml=$(mktemp)
tmp_svg=$(mktemp)
if keymap "$debug_arg" "${config_arg[@]}" parse -z "$keymap_file" "${parse_args[@]}" >"$tmp_yaml"; then
if keymap $debug_arg "${config_arg[@]}" parse -z "$keymap_file" "${parse_args[@]}" >"$tmp_yaml"; then
mv "$tmp_yaml" "${{ inputs.output_folder }}/$keyboard.yaml"
artifacts+=("${{ inputs.output_folder }}/$keyboard.yaml")
else
Expand All @@ -181,7 +181,7 @@ jobs:
continue
fi
if keymap "$debug_arg" "${config_arg[@]}" draw "${{ inputs.output_folder }}/$keyboard.yaml" "${draw_args[@]}" >"$tmp_svg"; then
if keymap $debug_arg "${config_arg[@]}" draw "${{ inputs.output_folder }}/$keyboard.yaml" "${draw_args[@]}" >"$tmp_svg"; then
mv "$tmp_svg" "${{ inputs.output_folder }}/$keyboard.svg"
artifacts+=("${{ inputs.output_folder }}/$keyboard.svg")
else
Expand Down

0 comments on commit 3e25b20

Please sign in to comment.