Implement nightly autobuild (TEST)

This commit is contained in:
Useful Stuffs 2024-02-14 15:55:07 +01:00 committed by GitHub
parent 0587e7a2d7
commit b600672317
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 32 additions and 0 deletions

32
.github/workflows/nightly.yml vendored Normal file
View File

@ -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