We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 405d218 commit ff812e6Copy full SHA for ff812e6
action.yml
@@ -26,13 +26,9 @@ runs:
26
rm -f /home/runner/.cargo/bin/cargo-fmt
27
shell: bash
28
29
- - if: runner.os != 'Windows'
30
- run: |
31
- : install rustup if needed
32
- if ! command -v rustup &> /dev/null ; then
33
- curl --proto '=https' --tlsv1.2 --retry 10 --retry-connrefused -fsSL "https://sh.rustup.rs" | sh -s -- --default-toolchain none -y
34
- echo "${CARGO_HOME:-$HOME/.cargo}/bin" >> $GITHUB_PATH
35
- fi
+ - run: |
+ curl --proto '=https' --tlsv1.2 --retry 10 --retry-connrefused -fsSL "https://sh.rustup.rs" | sh -s -- --default-toolchain none -y
+ echo "${CARGO_HOME:-$HOME/.cargo}/bin" >> $GITHUB_PATH
36
37
38
- if: "${{ inputs.components == '' }}"
0 commit comments