mirror of
https://github.com/shivammathur/setup-php.git
synced 2025-08-30 17:34:07 +07:00
Switch to environment files. Apply GHSA-mfwh-5m23-j46w (CVE-2020-15228)
This commit is contained in:
@ -155,7 +155,7 @@ configure_composer() {
|
||||
exit 1;
|
||||
fi
|
||||
composer -q global config process-timeout 0
|
||||
echo "::add-path::/home/$USER/.composer/vendor/bin"
|
||||
echo "/home/$USER/.composer/vendor/bin" >> "$GITHUB_PATH"
|
||||
if [ -n "$COMPOSER_TOKEN" ]; then
|
||||
composer -q global config github-oauth.github.com "$COMPOSER_TOKEN"
|
||||
fi
|
||||
|
Reference in New Issue
Block a user