From d5682f0a7296f2df09222abca12fb39333a89f12 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 10 Sep 2026 22:22:56 +0000 Subject: [PATCH] Migrate CI build pipeline to Ubuntu (Linux) runner Changes the build job's RunsOn from windows-latest to ubuntu-latest in ScriptGenerationService.cs (the ADotNet-based generator for .github/workflows/build.yml) and regenerates build.yml accordingly. This is CI-only: local development is unaffected. Verified no database dependency exists in the repo (no UseSqlServer/UseNpgsql/DbContext/ ConnectionStrings usage), no .esproj projects are present, and no ProjectReference casing mismatches exist between .csproj files and actual directory names. The full solution (including the net10.0-windows WinForms NEL.MESH.UI project, via EnableWindowsTargeting) restores and builds successfully on Linux with 0 errors. The regenerated workflow was validated with actionlint (exit 0) in addition to YAML syntax. Closes #227 Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_013qa2PSvtyXPgZbxPyD8Uro --- .github/workflows/build.yml | 2 +- NEL.MESH.Infrastructure/Services/ScriptGenerationService.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b7fccab..937955d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,7 +20,7 @@ env: jobs: build: name: Build - runs-on: windows-latest + runs-on: ubuntu-latest steps: - name: Check Out uses: actions/checkout@v5 diff --git a/NEL.MESH.Infrastructure/Services/ScriptGenerationService.cs b/NEL.MESH.Infrastructure/Services/ScriptGenerationService.cs index 28fcf31..236a1e3 100644 --- a/NEL.MESH.Infrastructure/Services/ScriptGenerationService.cs +++ b/NEL.MESH.Infrastructure/Services/ScriptGenerationService.cs @@ -50,7 +50,7 @@ public void GenerateBuildScript(string branchName, string projectName, string do new Job { Name = "Build", - RunsOn = BuildMachines.WindowsLatest, + RunsOn = BuildMachines.UbuntuLatest, Steps = new List {