mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 20:56:02 +00:00
Remove old .NET SDKs to make 'dotnet restore' work with the latest SDK in CI pipeline (#14746)
This commit is contained in:
1 parent
19ee77e520
commit
d99afeed2d
1 file changed
+4
@@ -94,6 +94,10 @@ stages:
|
||||
vmImage: macOS-latest
|
||||
steps:
|
||||
- pwsh: |
|
||||
# Remove old .NET SDKs
|
||||
if (Test-Path -Path $HOME/.dotnet) {
|
||||
Remove-Item $HOME/.dotnet -Recurse -Force
|
||||
}
|
||||
Import-Module .\tools\ci.psm1
|
||||
New-CodeCoverageAndTestPackage
|
||||
displayName: CodeCoverage and Test Package
|
||||
Reference in new issue
Block a user