Skip to content

GitHub Actions — CD (publish to NuGet.org) #4

@miiitch

Description

@miiitch

Goal

Automatically publish the NuGet package when a release is created.

Tasks

  • Create .github/workflows/publish.yml
    • Trigger: release event (published), tag pattern v*
    • Steps: checkout, setup .NET 10, restore, pack, dotnet nuget push
    • Use NUGET_API_KEY secret (stored in GitHub Environments → release)
    • Require manual approval via the release environment

Depends on

#3

Acceptance criteria

  • Workflow is paused for approval before pushing
  • After approval, package appears on NuGet.org

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions