From 409c98c006a8bace19cacbb26eb6eebbf424db36 Mon Sep 17 00:00:00 2001 From: Bavo Denys <66639415+bavodenys@users.noreply.github.com> Date: Sun, 21 Jan 2024 10:58:44 +0100 Subject: [PATCH] Modified download of NSIS --- .github/workflows/main.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4ee7f0d..b8631b7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -54,9 +54,10 @@ jobs: - name: Download and Install NSIS run: | - mkdir -p $HOME/nsis - Invoke-WebRequest -Uri 'https://prdownloads.sourceforge.net/nsis/nsis-3.06.1-setup.exe' -OutFile $HOME/nsis/nsis-setup.exe - Start-Process -Wait -FilePath $HOME/nsis/nsis-setup.exe -ArgumentList '/S' + $nsisPath = "$env:USERPROFILE\nsis" + New-Item -ItemType Directory -Path $nsisPath -Force + Invoke-WebRequest -Uri 'https://prdownloads.sourceforge.net/nsis/nsis-3.06.1-setup.exe' -OutFile $nsisPath\nsis-setup.exe + Start-Process -Wait -FilePath "$nsisPath\nsis-setup.exe" -ArgumentList '/S' - name: Compile NSIS Script run: |