build: Fallout CI + nuget.org Trusted Publishing (Chrison.* IDs)#14
Merged
Conversation
Mirror the ProxmoxSharp conversion (PR Chrison-dev/ProxmoxSharp#20): - build/: Fallout build project (Compile/Test/Pack/Publish) + build.sh/ps1 + .fallout/ root marker; new nuget.config adds the Fallout-build feed (Fallout.* only). - Rename package IDs to the Chrison.* prefix (Chrison.UnifiSharp[.Api|.Cli]) — the bare UnifiSharp ID is taken on nuget.org (anthturner). AssemblyName/RootNamespace stay UnifiSharp, so `using UnifiSharp;` and the `unifisharp` command are unchanged. - ci.yml → build+test only; publish.yml → NuGet/login@v1 OIDC → push to nuget.org (prerelease on main, stable on v* tag), job runs in the Nuget.org environment. - README: Build + Packages sections updated for Fallout + Chrison.* on nuget.org. Verified locally: ./build.sh Pack → 16 tests pass, emits Chrison.UnifiSharp*.nupkg. Requires (repo setup): PACKAGES_PAT + NUGET_USER secrets, a Nuget.org GH environment, and a nuget.org Trusted Publishing policy for this repo + publish.yml (Environment=Nuget.org). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Mirrors the ProxmoxSharp conversion (#20) for UnifiSharp: Fallout build/CI +
Chrison.*package IDs + nuget.org Trusted Publishing (OIDC, keyless). Part of P0 for the org-migration epic (Chrison-dev/Homelab#282).What changed
build/+build.sh/ps1+.fallout/marker); newnuget.configscopes the Fallout-build feed toFallout.*.Chrison.*IDs —Chrison.UnifiSharp{,.Api,.Cli}(bareUnifiSharpis taken on nuget.org by anthturner). AssemblyName/namespace stayUnifiSharp; theunifisharpcommand is unchanged.ci.yml→ build+test;publish.yml→NuGet/login@v1OIDC → push (prerelease onmain, stable onv*), job runs in theNuget.orgenvironment.Verified locally
./build.sh Pack→ 16 tests pass, emitsChrison.UnifiSharp{,.Api,.Cli}.nupkg.Setup (I've done the repo side)
PACKAGES_PAT+NUGET_USERsecrets and theNuget.orgenvironment are set. Needs you: create the nuget.org Trusted Publishing policy — ownerChrison-dev, repoUnifiSharp, workflowpublish.yml, EnvironmentNuget.org(per our schema).Consumer updates (Homelab engine →
Chrison.UnifiSharpfrom nuget.org) belong to the Homelab-side migration (#282, P6), not this PR.