Fix to only copy problem-matchers configs to RUNNER_TOOL_CACHE

This commit is contained in:
Shivam Mathur
2021-11-10 05:45:18 +05:30
parent 03509eca9b
commit beaceb0089
5 changed files with 3 additions and 3 deletions

View File

@ -572,7 +572,7 @@ if($version -lt "5.5") {
}
Enable-PhpExtension -Extension $enable_extensions -Path $php_dir
Add-PhpCAInfo
Copy-Item -Path $dist\..\src\configs\*.json -Destination $env:RUNNER_TOOL_CACHE
Copy-Item -Path $dist\..\src\configs\pm\*.json -Destination $env:RUNNER_TOOL_CACHE
New-Item -ItemType Directory -Path $composer_bin -Force > $null 2>&1
Write-Output "::set-output name=php-version::$($installed.FullVersion)"
Add-Log $tick "PHP" "$status PHP $($installed.FullVersion)$extra_version"