diff --git a/.github/workflows/build-publish.yaml b/.github/workflows/build-publish.yaml index 80b3e83..0aa3d04 100644 --- a/.github/workflows/build-publish.yaml +++ b/.github/workflows/build-publish.yaml @@ -1,7 +1,9 @@ on: push: tags: + - "v[0-9]+.[0-9]+" - "v[0-9]+.[0-9]+.[0-9]+" + - "v[0-9]+.[0-9]+.[0-9]+.[0-9]+" if: startsWith(github.ref, 'refs/tags/') concurrency: @@ -67,12 +69,12 @@ jobs: - name: Dotnet - Pack run: dotnet pack -c "Release ${{ matrix.client }}" --no-restore - - name: Publish - NuGet - if: ${{ env.is-tag == 'true' }} - run: dotnet nuget push **/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }} --skip-duplicate - working-directory: CompiledLibs + # - name: Publish - NuGet + # if: ${{ env.is-tag == 'true' }} + # run: dotnet nuget push **/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }} --skip-duplicate + # working-directory: CompiledLibs - - name: Publish - GitHub - if: ${{ env.is-tag == 'true' }} - run: dotnet nuget push **/*.nupkg --skip-duplicate - working-directory: CompiledLibs + # - name: Publish - GitHub + # if: ${{ env.is-tag == 'true' }} + # run: dotnet nuget push **/*.nupkg --skip-duplicate + # working-directory: CompiledLibs