From 0e04e6aa6b7991414f3ecd90e6b00f49521985a7 Mon Sep 17 00:00:00 2001 From: rzlamrr Date: Mon, 16 Mar 2026 07:27:02 +0700 Subject: [PATCH] fix sourceforge --- .github/workflows/windows.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index f675458..16aa049 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -175,8 +175,7 @@ jobs: - name: Download and build Clipper if: steps.deps-cache.outputs.cache-hit != 'true' run: | - Invoke-WebRequest -Uri "https://sourceforge.net/projects/polyclipping/files/clipper_ver6.4.2.zip/download" ` - -OutFile clipper.zip -UserAgent "Mozilla/5.0" + curl.exe -L -o clipper.zip "https://sourceforge.net/projects/polyclipping/files/clipper_ver6.4.2.zip/download" Expand-Archive -Path clipper.zip -DestinationPath clipper-src Remove-Item clipper.zip @@ -225,8 +224,7 @@ jobs: - name: Download ngspice if: steps.deps-cache.outputs.cache-hit != 'true' run: | - Invoke-WebRequest -Uri "https://sourceforge.net/projects/ngspice/files/ng-spice-rework/old-releases/42/ngspice-42_dll_64.7z/download" ` - -OutFile ngspice.7z -UserAgent "Mozilla/5.0" + curl.exe -L -o ngspice.7z "https://sourceforge.net/projects/ngspice/files/ng-spice-rework/old-releases/42/ngspice-42_dll_64.7z/download" 7z x ngspice.7z -ongspice-extract # Move contents to expected location if (Test-Path "ngspice-extract\Spice64_dll") {