From 9ce8cb75e7e93b9530c8a2bc45675014e52eb9ea Mon Sep 17 00:00:00 2001 From: Zachary Eisinger Date: Mon, 10 Aug 2020 12:00:36 -0700 Subject: [PATCH] Uninstall location --- .github/workflows/workflow.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 0701732..e236ca7 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -38,12 +38,18 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 - - name: Clear tool cache - if: runner.os != 'windows' + - name: Clear tool cache (macOS) + if: runner.os == 'macos' run: | echo $PATH dotnet --info - rm -rf "$HOME/.dotnet" + rm -rf "/Users/runner/.dotnet" + - name: Clear tool cache (Ubuntu) + if: runner.os == 'linux' + run: | + echo $PATH + dotnet --info + rm -rf "/usr/share/dotnet" - name: Clear tool cache (Windows) if: runner.os == 'windows' run: | @@ -77,7 +83,7 @@ jobs: - name: Checkout uses: actions/checkout@v2 - name: Clear tool cache - run: rm -rf "$HOME/.dotnet" + run: rm -rf "/usr/share/dotnet" - name: Setup dotnet 3.1.201 uses: ./ with: @@ -94,7 +100,7 @@ jobs: - name: Checkout uses: actions/checkout@v2 - name: Clear tool cache - run: rm -rf "$HOME/.dotnet" + run: rm -rf "/usr/share/dotnet" - name: Setup dotnet 3.1.201 uses: ./ with: