Skip to content

Commit

Permalink
Repeat until success
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Apr 24, 2024
1 parent f391347 commit c40174d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,11 @@ jobs:
- if: runner.os == 'windows'
run: |
Set-Service mongodb -StartupType Automatic
Set-Service mongodb -StartupType Automatic
Set-Service mongodb -StartupType Automatic
Start-Service -Name MongoDB
Do {
Start-Service MongoDB
Start-Sleep -Seconds 10
$Service = Get-Service MongoDB
} Until ($Service.Status -eq "Running")
- uses: r-lib/actions/setup-r@v2
with:
Expand Down

0 comments on commit c40174d

Please sign in to comment.