From 95c18dcf6b7d3f06d34317489aaedb4d1028a89c Mon Sep 17 00:00:00 2001 From: Lucas Date: Sun, 25 Feb 2024 18:45:35 +0800 Subject: [PATCH] Update nginx path of windows runner in CI.yml (#1210) --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6502f62f..d75ff9bc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -394,22 +394,22 @@ jobs: # Replace the default Nginx configuration file echo "$nginxConf" - Set-Content -Path "C:\tools\nginx-1.25.3\conf\nginx.conf" -Value $nginxConf - Get-Content -Path "C:\tools\nginx-1.25.3\conf\nginx.conf" + Set-Content -Path "C:\tools\nginx-1.25.4\conf\nginx.conf" -Value $nginxConf + Get-Content -Path "C:\tools\nginx-1.25.4\conf\nginx.conf" # Start Nginx #Get-Service -ErrorAction SilentlyContinue #Get-CimInstance -ClassName Win32_Service Set-Service nginx -StartupType manual Start-Service nginx - #Start-Process -FilePath "C:\tools\nginx-1.25.3\nginx.exe" - dir C:\tools\nginx-1.25.3\logs\ + #Start-Process -FilePath "C:\tools\nginx-1.25.4\nginx.exe" + dir C:\tools\nginx-1.25.4\logs\ Start-Sleep -Seconds 5 netstat -a # Print Nginx Error Logs (on Windows systems) #nginx -t - Get-Content -Path "C:\tools\nginx-1.25.3\logs\error.log" + Get-Content -Path "C:\tools\nginx-1.25.4\logs\error.log" dir D:\a\martin\martin\ - name: Start postgres uses: nyurik/action-setup-postgis@v1.1