diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5359149..59ebc03 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,7 +26,7 @@ jobs: check-semver: runs-on: ubuntu-latest - if: github.event_name == 'pull_request' + if: github.event_name != 'release' steps: - name: Checkout current version uses: actions/checkout@v4 @@ -129,4 +129,4 @@ jobs: run: dotnet nuget push "Packages/*.nupkg" --skip-duplicate --no-symbols --api-key ${{secrets.GITHUB_TOKEN}} --source https://nuget.pkg.github.com/${{github.repository_owner}} env: # This is a workaround for https://github.com/NuGet/Home/issues/9775 - DOTNET_SYSTEM_NET_HTTP_USESOCKETSHTTPHANDLER: 0 \ No newline at end of file + DOTNET_SYSTEM_NET_HTTP_USESOCKETSHTTPHANDLER: 0