Skip to content

Commit

Permalink
Improve input-urls syntax #4
Browse files Browse the repository at this point in the history
Signed-off-by: tdruez <tdruez@nexb.com>
  • Loading branch information
tdruez committed Feb 8, 2024
1 parent e340cce commit 16398f1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ runs:
- name: Generate `--input-url` CLI arguments
shell: bash
run: |
IFS=$' \n'
read -ra URLS <<< "${{ toJson(inputs.input-urls) }}"
IFS=$'\n' read -d '' -ra URLS <<< "${{ inputs.input-urls }}"
INPUT_URL_CLI_ARGS=""
for url in "${URLS[@]}"; do
INPUT_URL_CLI_ARGS+="--input-url $url "
Expand Down

0 comments on commit 16398f1

Please sign in to comment.