|
23 | 23 | fail-fast: false |
24 | 24 | runs-on: windows-${{ matrix.os }} |
25 | 25 | steps: |
| 26 | + # https://github.com/actions/runner-images/issues/13729 |
| 27 | + - name: Ensure Docker is running (Windows) |
| 28 | + shell: pwsh |
| 29 | + run: | |
| 30 | + Start-Service docker |
| 31 | + for ($i = 0; $i -lt 30; $i++) { |
| 32 | + docker info *> $null |
| 33 | + if ($LASTEXITCODE -eq 0) { exit 0 } |
| 34 | + Start-Sleep 2 |
| 35 | + } |
| 36 | + docker info |
26 | 37 | - name: 'Checkout GitHub Action' |
27 | 38 | uses: actions/checkout@main |
28 | 39 | - if: github.event_name != 'pull_request' |
|
53 | 64 | fail-fast: false |
54 | 65 | runs-on: windows-${{ matrix.os }} |
55 | 66 | steps: |
| 67 | + # https://github.com/actions/runner-images/issues/13729 |
| 68 | + - name: Ensure Docker is running (Windows) |
| 69 | + shell: pwsh |
| 70 | + run: | |
| 71 | + Start-Service docker |
| 72 | + for ($i = 0; $i -lt 30; $i++) { |
| 73 | + docker info *> $null |
| 74 | + if ($LASTEXITCODE -eq 0) { exit 0 } |
| 75 | + Start-Sleep 2 |
| 76 | + } |
| 77 | + docker info |
56 | 78 | - name: 'Checkout GitHub Action' |
57 | 79 | uses: actions/checkout@main |
58 | 80 | - if: github.event_name != 'pull_request' |
@@ -96,6 +118,17 @@ jobs: |
96 | 118 | fail-fast: false |
97 | 119 | runs-on: windows-${{ matrix.os }} |
98 | 120 | steps: |
| 121 | + # https://github.com/actions/runner-images/issues/13729 |
| 122 | + - name: Ensure Docker is running (Windows) |
| 123 | + shell: pwsh |
| 124 | + run: | |
| 125 | + Start-Service docker |
| 126 | + for ($i = 0; $i -lt 30; $i++) { |
| 127 | + docker info *> $null |
| 128 | + if ($LASTEXITCODE -eq 0) { exit 0 } |
| 129 | + Start-Sleep 2 |
| 130 | + } |
| 131 | + docker info |
99 | 132 | - uses: actions/checkout@main |
100 | 133 | - if: github.event_name != 'pull_request' |
101 | 134 | uses: docker/login-action@v4 |
|
0 commit comments