diff --git a/.gitea/workflows/sonar-scan.yml b/.gitea/workflows/sonar-scan.yml index 8139ef9..b4cdb94 100644 --- a/.gitea/workflows/sonar-scan.yml +++ b/.gitea/workflows/sonar-scan.yml @@ -30,17 +30,16 @@ jobs: dotnet --version - name: Run OWASP Dependency Check + env: + HTTP_PROXY: http://127.0.0.1:7890 + HTTPS_PROXY: http://127.0.0.1:7890 run: | New-Item -Path $env:DC_OUTPUT -ItemType Directory -Force & "D:\Paths\Gitea\dependency-check\bin\dependency-check.bat" ` --project "VectorDBDemo" ` --scan "." ` --format "XML" ` - --out "$env:DC_OUTPUT" ` - -Dproxy.host=$env:PROXY_HOST ` - -Dproxy.port=$env:PROXY_PORT ` - -DconnectionTimeout=30000 ` - -DreadTimeout=30000 + --out "$env:DC_OUTPUT" shell: pwsh