From d5f5852ea112e95d5cb114fc2fcbba8b963f4b6b Mon Sep 17 00:00:00 2001 From: geoffwhittington Date: Fri, 21 Apr 2023 19:18:38 -0400 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3484a71..198e5c7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,10 +24,14 @@ jobs: - name: Install NSIS run: | - winget install -e --id NSIS.NSIS - - name: Print NSIS version - run: makensis -VERSION - + $url = 'https://sourceforge.net/projects/nsis/files/NSIS%203/3.06.1/nsis-3.06.1-setup.exe/download' + $installer = "$env:TEMP\installer.exe" + Invoke-WebRequest $url -OutFile $installer + Start-Process -FilePath $installer -ArgumentList '/S' -Wait + + - name: Build NSIS Installer + run: | + "C:\Program Files (x86)\NSIS\makensis.exe" installer.nsi - name: Compile NSIS script run: | makensis mmrelay.nsi