diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index 4b687339e5..eb0449ddeb 100644 --- a/.github/workflows/workflow.yaml +++ b/.github/workflows/workflow.yaml @@ -104,7 +104,10 @@ jobs: runs-on: ${{ matrix.os }} steps: - if: ${{ matrix.os == 'windows-latest' }} - run: reg query HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters + run: | + reg query HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters + reg add HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters /v KeepAliveTime /t REG_DWORD /d 300000 + reg query HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters - if: ${{ matrix.os == 'ubuntu-latest' }} run: |- sudo swapoff -a