Skip to content

Commit

Permalink
Merge pull request #34 from SergioGasquez/fix/rustup-installation
Browse files Browse the repository at this point in the history
Fix how rustup is verified/installed
  • Loading branch information
bugadani authored Feb 3, 2025
2 parents 2320d4e + fd7dfa7 commit b989c80
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@ runs:
- name: Ensure that Rust is already installed
shell: bash
run: |
if [ ! -d "$HOME/.cargo/bin" ]; then
if ! command -v rustup &> /dev/null; then
curl https://sh.rustup.rs -sSf | sh -s -- --profile minimal -y
export PATH="$HOME/.cargo/bin:$PATH"
echo "PATH=$PATH" >> $GITHUB_ENV
fi
- name: Detect host target triple
Expand Down

0 comments on commit b989c80

Please # to comment.