This commit is contained in:
Vladimir Safonkin 2021-02-04 09:31:18 +03:00
parent a1105722ad
commit 79735df611
2 changed files with 2 additions and 5 deletions

View File

@ -100,7 +100,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
# Dotnet .x version install
- name: Clear toolcache
shell: pwsh
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
@ -125,7 +124,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
# Dotnet .* version install
- name: Clear toolcache
shell: pwsh
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}

View File

@ -1,9 +1,8 @@
$os = $args[0]
$linuxDotnetPaths = @("/usr/share/dotnet", "$env:HOME/.dotnet")
$linuxDotnetPaths = @("/usr/share/dotnet")
$macOSDotnetPaths = @("$env:HOME/.dotnet")
$windowsDotnetPaths = @("$env:HOME\.dotnet",
"$env:ProgramFiles\dotnet/*",
$windowsDotnetPaths = @("$env:ProgramFiles\dotnet/*",
"$env:LocalAppData\Microsoft\dotnet/*")
$pathsToClear = @()