Lightlines
By dotnet

nuget-trusted-publishing

dotnet2.5k installs

Publish NuGet packages without long-lived keys.

What it does

Configures GitHub Actions publishing for NuGet packages with short-lived authentication instead of long-lived API keys.

When to use it

Use when setting up NuGet trusted publishing, migrating away from API keys, or creating a new publishing workflow.

How to use it

Give it a GitHub Actions repository; it guides trusted publishing setup and creates or modifies the publishing workflow, waiting for policy confirmation before publishing.

What you provide

  • An existing project

Uses

Good to know

  • cannot be undone: nuget.org

Latest review

What you need · 3

Requires a repository using GitHub Actions; other publishing platforms are outside its scope.

Requires a nuget.org account with access to create trusted publishing policies.


Access · 2

This skill

nuget.org

Write

Publishes packages to nuget.org (irreversible)

GitHub

Write

Pushes version tags to GitHub