Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

codeaphex/github_release_nuget_workflow

Open more actions menu

Repository files navigation

GitHub Release - NuGet Workflow

GitHub top language GitHub License Nuget Downloads

Status

Workflow

Workflow Badge

Stable version

GitHub release (latest SemVer) Nuget

Development version

GitHub release (latest SemVer including pre-releases) Nuget (with prereleases)

Features

  • Create and push a NuGet package on a Github Release
  • Supports Semantic Versioning 2.0.0 for prerelease packages

Usage

Prerequisites

  • GitHub project secret named NUGET_TOKEN with a valid NuGet API key is set
  • Github repository name must match the name of the library project
  • AssemblyVersion of the library matches the GitHub Release version tag
    Rules: MAJOR.MINOR.PATCH must match
    Example: AssemblyVersion: 0.1.1
    matches the following GitHub release versions:
    0.1.1
    v0.1.1
    0.1.1-alpha
    v0.1.1-beta.2

Getting started

  1. Copy workflow
  2. Add nuspec
  3. Set secret
  4. Check Assembly version
  5. Push
  6. Create release
  7. Profit!!!

About

Create and push a NuGet package on a Github Release

Resources

License

Stars

2 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.