mirror of
https://github.com/actions/setup-dotnet.git
synced 2024-11-22 19:41:08 +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:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Clear toolcache
|
||||
shell: pwsh
|
||||
run: __tests__/clear-toolcache.ps1 runner.os
|
||||
|
||||
- name: Clear tool cache (macOS)
|
||||
if: runner.os == 'macos'
|
||||
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