Name flags step

This commit is contained in:
David Tolnay 2021-10-09 05:07:58 +01:00
parent a538c0eb3d
commit 947b7d5e81
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82

View file

@ -22,6 +22,7 @@ runs:
using: composite using: composite
steps: steps:
- id: flags - id: flags
name: construct rustup command line
run: | run: |
echo "::set-output name=target::${{inputs.target && ' --target '}}${{inputs.target}}" echo "::set-output name=target::${{inputs.target && ' --target '}}${{inputs.target}}"
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)"