diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index f8fca23..a18c320 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -19,7 +19,7 @@ jobs: config: - {os: macOS-13, r: 'release'} - {os: macOS-14, r: 'release'} - - {os: windows-latest, r: '4.1'} + - {os: windows-2019, r: '4.1'} - {os: windows-latest, r: 'release'} - {os: windows-latest, r: 'devel'} - {os: ubuntu-20.04, r: 'devel', http-user-agent: 'release'} @@ -42,9 +42,10 @@ jobs: - if: runner.os == 'linux' run: sudo systemctl restart mongod - - name: MongoDB in GitHub Actions - if: runner.os == 'windows' - uses: supercharge/mongodb-github-action@1.10.0 + - if: runner.os == 'windows' + run: | + Set-Service mongodb -StartupType Automatic + Start-Service -Name MongoDB - uses: r-lib/actions/setup-r@v2 with: