From 79735df611b9d310c7adc9eb96f0d766509bd79e Mon Sep 17 00:00:00 2001 From: Vladimir Safonkin Date: Thu, 4 Feb 2021 09:31:18 +0300 Subject: [PATCH] Debug --- .github/workflows/workflow.yml | 2 -- __tests__/clear-toolcache.ps1 | 5 ++--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 497f1bf..6f1b61f 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -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 }} diff --git a/__tests__/clear-toolcache.ps1 b/__tests__/clear-toolcache.ps1 index 53776e8..60f630c 100644 --- a/__tests__/clear-toolcache.ps1 +++ b/__tests__/clear-toolcache.ps1 @@ -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 = @()