Skip to content

Publish Nuget package

Actions
Publish Nuget package to repository
5
Latest
Star (1)

publish-nuget

Publish nuget package to a nuget repository.

Step syntax:

- name: <name>
  uses: myci-actions/publish-nuget@<version>
  with:
    filename: <filename>
    api-key: <api-key>
    repo-url: <repo-url>

Arguments:

  • <filename> - filename of the .nupkg package to publish. Can be specified as wildcard, e.g. *.nupkg.

  • <api-key> - API key to access the nuget repository.

  • <repo-url> - URL of the nuget repository to publish the package to. Default value is https://api.nuget.org/v3/index.json.

Step example:

- name: publish nuget package
  uses: myci-actions/publish-nuget@5
  with:
    filename: '*.nupkg'
    api-key: ${{ secrets.NUGET_DOT_ORG_API_KEY }}

Publish Nuget package is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Publish Nuget package to repository
5
Latest

Publish Nuget package is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.