mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 13:17:54 +00:00
pre-create .composer folder to preserve permission
This commit is contained in:
@@ -283,6 +283,9 @@ prependEtcEnvironmentPath /home/runner/.config/composer/vendor/bin
|
|||||||
# Add composer bin folder to path
|
# Add composer bin folder to path
|
||||||
echo 'export PATH="$PATH:$HOME/.config/composer/vendor/bin"' >> /etc/skel/.bashrc
|
echo 'export PATH="$PATH:$HOME/.config/composer/vendor/bin"' >> /etc/skel/.bashrc
|
||||||
|
|
||||||
|
#Create composer folder for user to preserve folder permissions
|
||||||
|
mkdir -p /etc/skel/.composer
|
||||||
|
|
||||||
# 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
|
||||||
|
|||||||
@@ -200,6 +200,9 @@ prependEtcEnvironmentPath /home/runner/.config/composer/vendor/bin
|
|||||||
# Add composer bin folder to path
|
# Add composer bin folder to path
|
||||||
echo 'export PATH="$PATH:$HOME/.config/composer/vendor/bin"' >> /etc/skel/.bashrc
|
echo 'export PATH="$PATH:$HOME/.config/composer/vendor/bin"' >> /etc/skel/.bashrc
|
||||||
|
|
||||||
|
#Create composer folder for user to preserve folder permissions
|
||||||
|
mkdir -p /etc/skel/.composer
|
||||||
|
|
||||||
# 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