mirror of
https://github.com/actions/setup-dotnet.git
synced 2024-11-23 03:51:07 +07:00
Move toolcache cleanup to separated script
This commit is contained in:
parent
975b958e4c
commit
62230c5409
4
.github/workflows/workflow.yml
vendored
4
.github/workflows/workflow.yml
vendored
@ -43,6 +43,10 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
- name: Clear toolcache
|
||||||
|
shell: pwsh
|
||||||
|
run: __tests__/clear-toolcache.ps1 runner.os
|
||||||
|
|
||||||
- name: Clear tool cache (macOS)
|
- name: Clear tool cache (macOS)
|
||||||
if: runner.os == 'macos'
|
if: runner.os == 'macos'
|
||||||
run: |
|
run: |
|
||||||
|
1
__tests__/clear-toolcache.ps1
Normal file
1
__tests__/clear-toolcache.ps1
Normal file
@ -0,0 +1 @@
|
|||||||
|
Write-Host $args[0]
|
Loading…
Reference in New Issue
Block a user