Skip to content

dotnet/nbgv

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

GitHub Action for Nerdbank.GitVersioning

This action installs and runs the CLI for Nerdbank.GitVersioning. It does the equivalent of:

dotnet tool install -g nbgv
nbgv get-version -f json > nbgv.json
nbgv cloud --all-vars

Example Workflow

name: CI
on: [push, pull_request]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v1
    - uses: aarnott/nbgv@master
    - run: echo "NBGV_SemVer2 $NBGV_SemVer2"

The action runs in about 13 seconds.

About

The repo behind the dotnet/nbgv GitHub Action

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 7