mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
Update PATH environment variable to add .dotnet and php composer default folder (#477)
* Add environment variables for .dotnet and php comopser * update rust.sh comments
This commit is contained in:
committed by
GitHub
parent
080ee6e69a
commit
3145274036
6
images/linux/scripts/installers/updatepath.sh
Normal file
6
images/linux/scripts/installers/updatepath.sh
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
CARGO_HOME=/usr/share/rust/.cargo
|
||||
DOTNET_TOOLS_HOME=/home/runner/.dotnet/tools
|
||||
PHP_COMPOSER_HOME=/home/runner/.config/composer/vendor/bin
|
||||
echo "PATH=${CARGO_HOME}/bin:${PATH}:${DOTNET_TOOLS_HOME}:${PHP_COMPOSER_HOME}" | tee -a /etc/environment
|
||||
Reference in New Issue
Block a user