We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2320d4e + fd7dfa7 commit b989c80Copy full SHA for b989c80
action.yaml
@@ -29,8 +29,10 @@ runs:
29
- name: Ensure that Rust is already installed
30
shell: bash
31
run: |
32
- if [ ! -d "$HOME/.cargo/bin" ]; then
+ if ! command -v rustup &> /dev/null; then
33
curl https://sh.rustup.rs -sSf | sh -s -- --profile minimal -y
34
+ export PATH="$HOME/.cargo/bin:$PATH"
35
+ echo "PATH=$PATH" >> $GITHUB_ENV
36
fi
37
38
- name: Detect host target triple
0 commit comments