From 5f457c44d2d775e3120aad0d689aff910e22f8cf Mon Sep 17 00:00:00 2001 From: Giuseppe Imperato Date: Fri, 15 May 2026 19:51:38 +0200 Subject: [PATCH] ci: automate Inno Setup installer build in release workflow --- .github/workflows/release.yml | 25 ++++++++----------------- 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 97f5e27..4a48baa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,26 +26,17 @@ jobs: - name: Test run: dotnet test src/PassKey.Tests/PassKey.Tests.csproj --verbosity normal - - name: Publish Desktop (self-contained x64) - run: > - dotnet publish src/PassKey.Desktop/PassKey.Desktop.csproj - -c Release -p:Platform=x64 -r win-x64 - --self-contained true - -o publish/ - - - name: Publish BrowserHost (single file) - run: > - dotnet publish src/PassKey.BrowserHost/PassKey.BrowserHost.csproj - -c Release -r win-x64 --self-contained true - -p:PublishSingleFile=true - -o publish/ - - - name: Create portable ZIP - run: Compress-Archive -Path publish/* -DestinationPath PassKey-Portable-x64.zip + - name: Install Inno Setup 6 + run: choco install innosetup --yes --no-progress + + - name: Build installer and portable ZIP + run: .\scripts\build-installer.ps1 + shell: pwsh - name: Create GitHub Release uses: softprops/action-gh-release@v2 with: generate_release_notes: true files: | - PassKey-Portable-x64.zip + Installer\Output\PassKey-Portable-x64.zip + Installer\Output\PassKey-Setup-x64.exe