Skip to content

Commit

Permalink
CI/Windows: use automatic sourceforge mirror for NSIS download
Browse files Browse the repository at this point in the history
  • Loading branch information
DeinAlptraum committed Sep 9, 2024
1 parent 579a89c commit 046aace
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,9 @@ jobs:
echo "versionName=$VNAME" >> $env:GITHUB_ENV
- name: Install Dependencies
run: |
choco install wget --no-progress
wget -q https://github.com/newpascal/newpascal/releases/download/np-v1.0.50/newpascal.zip
7z x -y "newpascal.zip" -o"C:\" > nul
wget "https://netcologne.dl.sourceforge.net/project/nsis/NSIS%203/3.05/nsis-3.05-setup.exe"
Invoke-WebRequest -Uri "https://github.com/newpascal/newpascal/releases/download/np-v1.0.50/newpascal.zip" -OutFile "newpascal.zip"
7z x -y "newpascal.zip" -o"C:\"
Invoke-WebRequest -Uri "https://sourceforge.net/projects/nsis/files/NSIS%203/3.05/nsis-3.05-setup.exe/download" -OutFile "nsis-3.05-setup.exe" -UserAgent "NativeHost"
./nsis-3.05-setup.exe /S
- name: Build
run: |
Expand Down

0 comments on commit 046aace

Please sign in to comment.