build: don't install deps on selfhosted windows (#2675)

This commit is contained in:
briaguya 2023-04-07 00:57:03 -04:00 committed by GitHub
parent bd05cb8b5d
commit 196de9d05d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -196,6 +196,7 @@ jobs:
runs-on: ${{ (vars.WINDOWS_RUNNER && fromJSON(vars.WINDOWS_RUNNER)) || 'windows-latest' }} runs-on: ${{ (vars.WINDOWS_RUNNER && fromJSON(vars.WINDOWS_RUNNER)) || 'windows-latest' }}
steps: steps:
- name: Install dependencies - name: Install dependencies
if: ${{ !vars.WINDOWS_RUNNER }}
run: | run: |
choco install ninja choco install ninja
Remove-Item -Path "C:\ProgramData\Chocolatey\bin\ccache.exe" -Force Remove-Item -Path "C:\ProgramData\Chocolatey\bin\ccache.exe" -Force