Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 700 Bytes

README.md

File metadata and controls

31 lines (23 loc) · 700 Bytes

Versy

GitHub Actions for CalVer & NuGet.

Using It

  1. Set repository secret NUGET_API_KEY
  2. In your repo create .github/workflows/nuget.yml with
on:
  push:
    paths:
      - 'my/awesome/lib/**'
      - '.github/workflows/nuget.yml'

jobs:
  publish:
    name: Pack & Publish nuget
    runs-on: ubuntu-latest
    steps:
      - uses: astorDev/versy/calver/nuget@main
        with:
          project: my/awesome/lib/My.Awesome.Lib
          nuget-api-key: ${{ secrets.NUGET_API_KEY }}

And you'll get nugets published every time you push with version like this:

drawing