diff --git a/.github/workflows/windows-selftest.yml b/.github/workflows/windows-selftest.yml index 37d739d7c8..60da3b955d 100644 --- a/.github/workflows/windows-selftest.yml +++ b/.github/workflows/windows-selftest.yml @@ -37,6 +37,10 @@ jobs: cancel-in-progress: true steps: + - name: Cleanup + shell: powershell + run: Remove-Item -Recurse -Force ${{ github.workspace }}\* + - name: Checkout code uses: actions/checkout@v4 @@ -60,6 +64,12 @@ jobs: restore-keys: | ${{ runner.os }}-meteor- + - name: Reset submodules (force refetch) + shell: pwsh + run: | + git submodule deinit -f --all + if (Test-Path ".git/modules") { Remove-Item -Recurse -Force ".git/modules" } + - name: Install dependencies shell: pwsh run: |