mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 13:17:54 +00:00
Add composer bin folder to path
This commit is contained in:
@@ -276,6 +276,9 @@ php composer-setup.php
|
|||||||
sudo mv composer.phar /usr/bin/composer
|
sudo mv composer.phar /usr/bin/composer
|
||||||
php -r "unlink('composer-setup.php');"
|
php -r "unlink('composer-setup.php');"
|
||||||
|
|
||||||
|
# Add composer bin folder to path
|
||||||
|
echo 'export PATH="$PATH:$HOME/.config/composer/vendor/bin"' >> /etc/skel/.bashrc
|
||||||
|
|
||||||
# Install phpunit (for PHP)
|
# Install phpunit (for PHP)
|
||||||
wget -q -O phpunit https://phar.phpunit.de/phpunit-7.phar
|
wget -q -O phpunit https://phar.phpunit.de/phpunit-7.phar
|
||||||
chmod +x phpunit
|
chmod +x phpunit
|
||||||
|
|||||||
@@ -193,6 +193,9 @@ php composer-setup.php
|
|||||||
sudo mv composer.phar /usr/bin/composer
|
sudo mv composer.phar /usr/bin/composer
|
||||||
php -r "unlink('composer-setup.php');"
|
php -r "unlink('composer-setup.php');"
|
||||||
|
|
||||||
|
# Add composer bin folder to path
|
||||||
|
echo 'export PATH="$PATH:$HOME/.config/composer/vendor/bin"' >> /etc/skel/.bashrc
|
||||||
|
|
||||||
# Install phpunit (for PHP)
|
# Install phpunit (for PHP)
|
||||||
wget -q -O phpunit https://phar.phpunit.de/phpunit-7.phar
|
wget -q -O phpunit https://phar.phpunit.de/phpunit-7.phar
|
||||||
chmod +x phpunit
|
chmod +x phpunit
|
||||||
|
|||||||
Reference in New Issue
Block a user