diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index a18c320..14d9942 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -44,8 +44,9 @@ jobs: - if: runner.os == 'windows' run: | - Set-Service mongodb -StartupType Automatic - Start-Service -Name MongoDB + reg add HKLM\System\CurrentControlSet\Control /v ServicesPipeTimeout /t REG_DWORD /d 300000 /f + sc config MongoDB start= auto + sc start MongoDB - uses: r-lib/actions/setup-r@v2 with: