We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9932df commit 404bb95Copy full SHA for 404bb95
action.yml
@@ -30,13 +30,11 @@ runs:
30
- id: flags
31
run: |
32
: construct rustup command line
33
- if [[ -z "$targets" ]]; then targets=$target; fi
34
echo "::set-output name=targets::$(for t in ${targets//,/ }; do echo -n ' --target' $t; done)"
35
echo "::set-output name=components::$(for c in ${components//,/ }; do echo -n ' --component' $c; done)"
36
echo "::set-output name=downgrade::${{inputs.toolchain == 'nightly' && inputs.components && ' --allow-downgrade' || ''}}"
37
env:
38
- targets: ${{inputs.targets}}
39
- target: ${{inputs.target}}
+ targets: ${{inputs.targets || input.target || ''}}
40
components: ${{inputs.components}}
41
shell: bash
42
0 commit comments