Skip to content

fix: set TrayIcon IsVisible=true explicitly and show main window on l… #9

fix: set TrayIcon IsVisible=true explicitly and show main window on l…

fix: set TrayIcon IsVisible=true explicitly and show main window on l… #9

Workflow file for this run

name: Release Pipeline
on:
push:
tags:
- 'v*'
workflow_dispatch:
permissions:
contents: write
jobs:
build-and-release:
runs-on: windows-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Setup .NET 10 SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: '10.0.x'
include-prerelease: true
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install Frontend Dependencies
run: npm ci
- name: Run Test Suite
run: dotnet test --nologo -c Release
- name: Run Frontend Linting & Type Checking
run: |
npm run lint
npx tsc --noEmit
- name: Publish Self-Contained Release (win-x64)
run: |
dotnet publish LocalLLMServerManager.csproj -c Release -r win-x64 --self-contained -o publish --nologo /p:PublishSingleFile=false
- name: Create Release Zip Archive
shell: powershell
run: |
New-Item -ItemType Directory -Path dist -Force
Compress-Archive -Path "publish\*" -DestinationPath "dist\LocalLLMServerManager-${{ github.ref_name }}-win-x64.zip" -Force
- name: Compile Inno Setup Installer
uses: ammarjw/innosetup-action@v1
with:
filepath: installer.iss
- name: Package Installer Executable
shell: powershell
run: |
if (Test-Path "LocalLLMServerManager-v2.0.0-Setup.exe") {
Move-Item -Path "LocalLLMServerManager-v2.0.0-Setup.exe" -Destination "dist\LocalLLMServerManager-${{ github.ref_name }}-Setup.exe" -Force
}
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
dist/*.zip
dist/*.exe
generate_release_notes: true
draft: false
prerelease: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}