Skip to content

Publish ColorHashSharp with NuGet Trusted Publishing - #12

Merged
fernandezja merged 1 commit into
mainfrom
issue-11/nuget-trusted-publishing
Nov 23, 2026
Merged

fernandezja merged 1 commit into
mainfrom
issue-11/nuget-trusted-publishing

Conversation

@fernandezja

Copy link
Copy Markdown
Owner

Refs #11.

  • Run restore, Release build, and tests before packing a tagged release. Use the validated tag as the NuGet package version.
  • Publish from the GitHub nuget environment using NuGet/login@v1 and a short-lived OIDC credential.
  • Document the environment variable and the package-scoped Trusted Publishing policy. Both are configured remotely.

Verified the workflow with actionlint and checked the tag validation with stable, prerelease, and invalid tags. Local tests passed on .NET 10 and 11. The generated 2.0.0-rc.1 package contained all six target frameworks and the expected NuGet version. The first live publish is pending a release tag after merge.

@fernandezja
fernandezja marked this pull request as ready for review November 23, 2026 00:06
@fernandezja
fernandezja merged commit 3150379 into main Nov 23, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant