setup-rust-action
setup-rust-action copied to clipboard
self-hosted runner
This could be user error, however, when I run this action on a self-hosted ubuntu-lts (24.04) runner, I get the following error:
Run hecrj/setup-rust-action@v2
Run "${GITHUB_ACTION_PATH%/}/setup.sh"
info: downloading installer
info: profile set to 'minimal'
info: default host triple is x86_64-unknown-linux-gnu
info: skipping toolchain installation
Rust is installed now. Great!
To get started you may need to restart your current shell.
This would reload your PATH environment variable to include
Cargo's bin directory ($HOME/.cargo/bin).
To configure your current shell, you need to source
the corresponding env file under $HOME/.cargo.
This is usually done by running one of the following (note the leading DOT):
. "$HOME/.cargo/env" # For sh/bash/zsh/ash/dash/pdksh
source "$HOME/.cargo/env.fish" # For fish
/home/runner/_work/_actions/hecrj/setup-rust-action/v2/setup.sh: line 15: rustup: command not found