Opt in to downgrade on unavailable components

This commit is contained in:
David Tolnay 2021-10-09 05:11:12 +01:00
parent 8e1a49f458
commit cd924db82b
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82

View file

@ -31,7 +31,7 @@ runs:
components: ${{inputs.components}}
shell: bash
- name: rustup toolchain install ${{inputs.toolchain}}
run: rustup toolchain install ${{inputs.toolchain}}${{steps.flags.outputs.targets}}${{steps.flags.outputs.components}} --profile minimal --no-self-update
run: rustup toolchain install ${{inputs.toolchain}}${{steps.flags.outputs.targets}}${{steps.flags.outputs.components}} --profile minimal --allow-downgrade --no-self-update
shell: bash
- run: rustup default ${{inputs.toolchain}}
shell: bash