mirror of
https://github.com/actions/setup-dotnet.git
synced 2025-08-22 00:20:20 +00:00
Uninstall location
This commit is contained in:
parent
b7f3cf0b3c
commit
9ce8cb75e7
16
.github/workflows/workflow.yml
vendored
16
.github/workflows/workflow.yml
vendored
@ -38,12 +38,18 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Clear tool cache
|
- name: Clear tool cache (macOS)
|
||||||
if: runner.os != 'windows'
|
if: runner.os == 'macos'
|
||||||
run: |
|
run: |
|
||||||
echo $PATH
|
echo $PATH
|
||||||
dotnet --info
|
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)
|
- name: Clear tool cache (Windows)
|
||||||
if: runner.os == 'windows'
|
if: runner.os == 'windows'
|
||||||
run: |
|
run: |
|
||||||
@ -77,7 +83,7 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Clear tool cache
|
- name: Clear tool cache
|
||||||
run: rm -rf "$HOME/.dotnet"
|
run: rm -rf "/usr/share/dotnet"
|
||||||
- name: Setup dotnet 3.1.201
|
- name: Setup dotnet 3.1.201
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
@ -94,7 +100,7 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Clear tool cache
|
- name: Clear tool cache
|
||||||
run: rm -rf "$HOME/.dotnet"
|
run: rm -rf "/usr/share/dotnet"
|
||||||
- name: Setup dotnet 3.1.201
|
- name: Setup dotnet 3.1.201
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user