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

View File

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