Clean up bash variable naming

This commit is contained in:
David Tolnay 2021-10-09 06:04:03 +01:00
parent 23a8e99b6b
commit c1964a6b50
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82

View file

@ -24,7 +24,7 @@ runs:
- id: flags - id: flags
run: | run: |
: construct rustup command line : construct rustup command line
echo "::set-output name=targets::$(for c in ${targets//,/ }; do echo -n ' --target' $c; done)" echo "::set-output name=targets::$(for t in ${targets//,/ }; do echo -n ' --target' $t; done)"
echo "::set-output name=components::$(for c in ${components//,/ }; do echo -n ' --component' $c; done)" echo "::set-output name=components::$(for c in ${components//,/ }; do echo -n ' --component' $c; done)"
env: env:
targets: ${{inputs.target}} targets: ${{inputs.target}}