diff --git a/.github/workflows/nuget-tag-publish.yml b/.github/workflows/nuget-tag-publish.yml index b8ef5cc..453db7b 100644 --- a/.github/workflows/nuget-tag-publish.yml +++ b/.github/workflows/nuget-tag-publish.yml @@ -13,6 +13,12 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Install dotnet tool + run: dotnet tool install -g dotnetCampus.TagToVersion + + - name: Set tag to version + run: dotnet TagToVersion -t ${{ github.ref }} + - name: Setup .NET uses: actions/setup-dotnet@v4 with: @@ -22,12 +28,7 @@ jobs: 6.0.x 8.0.x 9.0.x - - - name: Install dotnet tool - run: dotnet tool install -g dotnetCampus.TagToVersion - - name: Set tag to version - run: dotnet TagToVersion -t ${{ github.ref }} - name: Build with dotnet run: |