Move toolcache cleanup to separated script

This commit is contained in:
Vladimir Safonkin 2021-02-03 14:37:15 +03:00
parent 975b958e4c
commit 62230c5409
2 changed files with 5 additions and 0 deletions

View File

@ -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: |

View File

@ -0,0 +1 @@
Write-Host $args[0]