mirror of
https://github.com/shivammathur/setup-php.git
synced 2025-10-16 00:05:10 +07:00
Fix adding composer_bin to PATH
This commit is contained in:
@ -83,7 +83,7 @@ Function Add-Path {
|
||||
param(
|
||||
[string]$PathItem
|
||||
)
|
||||
if(-not(Test-Path $PathItem) -or "$env:PATH;".contains("$PathItem;")) {
|
||||
if("$env:PATH;".contains("$PathItem;")) {
|
||||
return
|
||||
}
|
||||
if ($env:GITHUB_PATH) {
|
||||
|
Reference in New Issue
Block a user