From 7684aeeb64e87785ba0486e021d5bebd5be82ae5 Mon Sep 17 00:00:00 2001 From: Kai Date: Sun, 10 Jan 2021 22:27:20 +0100 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3cd190d..e17d32b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,6 +9,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + + - name: calculate version + uses: dotnet/nbgv@master + id: nbgv # - name: Setup dotnet # uses: actions/setup-dotnet@v1 @@ -33,7 +37,7 @@ jobs: # VERSION_REGEX: ^\s*(.*)<\/Version>\s*$ # Useful with external providers like Nerdbank.GitVersioning, ignores VERSION_FILE_PATH & VERSION_REGEX - # VERSION_STATIC: 1.0.0 + VERSION_STATIC: ${{ steps.nbgv.outputs.SemVer2 }} # Flag to toggle git tagging, enabled by default # TAG_COMMIT: true