From b02ba28a5f4a77be3a32b194deef3d626dd3908d Mon Sep 17 00:00:00 2001 From: Davidson Sousa Date: Sun, 17 Nov 2024 17:37:14 +0100 Subject: [PATCH] Add check if tag exists --- .github/workflows/dotnet.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 4657f26..12e23fe 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -30,6 +30,7 @@ jobs: run: dotnet build --no-restore - name: Set build version + if: github.ref_name != '' id: bump uses: vers-one/dotnet-project-version-updater@v1.7 with: @@ -42,6 +43,6 @@ jobs: git add . git commit -m "Bump project version to ${{ github.ref_name }}" git push - + # - name: Test - # run: dotnet test --no-build --verbosity normal \ No newline at end of file + # run: dotnet test --no-build --verbosity normal