mirror of
https://github.com/actions/setup-dotnet.git
synced 2026-06-07 01:47:07 +00:00
Move toolcache cleanup to separated script
This commit is contained in:
parent
975b958e4c
commit
62230c5409
2 changed files with 5 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue