Skip to content

Enable Trusted Publishing #486

Description

@adrianhall

We've just enabled trusted publishing on the NuGet package delivery. Relevant information from the policies:

  • Trusted actions scripts:
    • build-library.yml
    • build-template.yml
  • Trusted environment:
    • nuget-release-gate

Update the build-library.yml and build-template.yml to publish via trusted publishing.

As an example, the following PR is from another repo that has done the work already: https://github.com/CommunityToolkit/Aspire/pull/1452/changes

Within the GitHub setup, environment nuget-release-gate has already been created and NUGET_USER is set.

Metadata

Metadata

Assignees

Labels

InfrastructureChanges to the build and release system

Type

Fields

No fields configured for Task.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions