From b600672317820b3aea70a555558f3ef53d66e4ce Mon Sep 17 00:00:00 2001 From: Useful Stuffs <157041205+usefulstuffs@users.noreply.github.com> Date: Wed, 14 Feb 2024 15:55:07 +0100 Subject: [PATCH] Implement nightly autobuild (TEST) --- .github/workflows/nightly.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/nightly.yml diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml new file mode 100644 index 0000000..db08c69 --- /dev/null +++ b/.github/workflows/nightly.yml @@ -0,0 +1,32 @@ +name: WUIsBack Nightly AutoBuilder + +on: + push: + branches: + - main + +jobs: + build: + runs-on: windows-latest + steps: + - name: Install NSIS + run: | + iwr -useb get.scoop.sh -outfile 'install.ps1' + .\install.ps1 -RunAsAdmin + scoop update + scoop bucket add extras + scoop install nsis + - name: Download latest DLL + run: | + md .\Release + md .\x64\Release + iwr http://fritzbox3272.controlliamo.com/WUIsBack/dll/LegacyUpdate32.dll -outfile '.\Release\LegacyUpdate.dll' + iwr http://fritzbox3272.controlliamo.com/WUIsBack/dll/LegacyUpdate64.dll -outfile '.\x64\Release\LegacyUpdate.dll' + - name: Compile WUIsBack + run: | + makensis .\setup\setup.nsi + - name: Upload Nightly Build + uses: actions/upload-artifact@v4 + with: + name: WUIsBack + path: setup/WUIsBack-latest.exe