mirror of
https://github.com/shivammathur/setup-php.git
synced 2025-10-16 00:05:10 +07:00
Fix username hardcode in composer PATH
This commit is contained in:
@ -114,7 +114,7 @@ add_tool() {
|
||||
sudo chmod a+x "$tool_path"
|
||||
if [ "$tool" = "composer" ]; then
|
||||
composer -q global config process-timeout 0
|
||||
echo "::add-path::/Users/runner/.composer/vendor/bin"
|
||||
echo "::add-path::/Users/$USER/.composer/vendor/bin"
|
||||
if [ -n "$COMPOSER_TOKEN" ]; then
|
||||
composer -q global config github-oauth.github.com "$COMPOSER_TOKEN"
|
||||
fi
|
||||
|
Reference in New Issue
Block a user