Skip to content

Enable Trusted Publishing #486

Closed
Closed

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

InfrastructureChanges to the build and release system

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions