Split Linux validation and Windows release build
Some checks failed
OfficeCom Sentinel Client / validate-client (push) Has been cancelled
OfficeCom Sentinel Client / build-client-windows (push) Has been cancelled

This commit is contained in:
OfficeCom Codex
2026-07-17 02:03:43 +02:00
parent 05029c9fb2
commit 61c5e7823a

View File

@@ -7,9 +7,35 @@ on:
tags: tags:
- "v*" - "v*"
workflow_dispatch: workflow_dispatch:
inputs:
build_windows:
description: "Build the Windows release package"
required: false
default: "false"
jobs: jobs:
build-client: validate-client:
runs-on:
- self-hosted
- ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: "10.0.x"
- name: Restore client
run: dotnet restore ./src/OCSentinelCli/OCSentinelCli.csproj
- name: Build client
run: dotnet build ./src/OCSentinelCli/OCSentinelCli.csproj -c Release --no-restore
build-client-windows:
needs: validate-client
if: startsWith(github.ref, 'refs/tags/v') || (github.event_name == 'workflow_dispatch' && inputs.build_windows == 'true')
runs-on: runs-on:
- self-hosted - self-hosted
- windows - windows