Fix targets input

This commit is contained in:
David Tolnay 2022-07-20 14:51:07 -07:00
parent 8514966bb2
commit c9932df3e4
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82

View file

@ -35,7 +35,7 @@ runs:
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)"
echo "::set-output name=downgrade::${{inputs.toolchain == 'nightly' && inputs.components && ' --allow-downgrade' || ''}}" echo "::set-output name=downgrade::${{inputs.toolchain == 'nightly' && inputs.components && ' --allow-downgrade' || ''}}"
env: env:
targets: ${{inputs.target}} targets: ${{inputs.targets}}
target: ${{inputs.target}} target: ${{inputs.target}}
components: ${{inputs.components}} components: ${{inputs.components}}
shell: bash shell: bash