mirror of
https://github.com/shiroyashik/sculptor.git
synced 2025-12-06 13:01:12 +03:00
fix target reading logic
This commit is contained in:
parent
cbb31f2183
commit
2ed5d9323a
1 changed files with 2 additions and 2 deletions
4
.github/actions/build/action.yml
vendored
4
.github/actions/build/action.yml
vendored
|
|
@ -23,9 +23,9 @@ runs:
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
targets=()
|
targets=()
|
||||||
while IFS=',' read -r target
|
while read -r target
|
||||||
do targets+=("--target" "$target")
|
do targets+=("--target" "$target")
|
||||||
done <<< "${{ inputs.targets }}"
|
done < <(tr , '\n' <<<"${{ inputs.targets }}")
|
||||||
declare -p targets > /tmp/targets.sh
|
declare -p targets > /tmp/targets.sh
|
||||||
|
|
||||||
- name: Check with cargo-fmt
|
- name: Check with cargo-fmt
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue