Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 8 additions & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Loading