Skip to content

Commit 12086c1

Browse files
committedAug 27, 2024·
Only skip check-semver during releases
1 parent dbd5a57 commit 12086c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎.github/workflows/build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626

2727
check-semver:
2828
runs-on: ubuntu-latest
29-
if: github.event_name == 'pull_request'
29+
if: github.event_name != 'release'
3030
steps:
3131
- name: Checkout current version
3232
uses: actions/checkout@v4
@@ -129,4 +129,4 @@ jobs:
129129
run: dotnet nuget push "Packages/*.nupkg" --skip-duplicate --no-symbols --api-key ${{secrets.GITHUB_TOKEN}} --source https://nuget.pkg.github.com/${{github.repository_owner}}
130130
env:
131131
# This is a workaround for https://github.com/NuGet/Home/issues/9775
132-
DOTNET_SYSTEM_NET_HTTP_USESOCKETSHTTPHANDLER: 0
132+
DOTNET_SYSTEM_NET_HTTP_USESOCKETSHTTPHANDLER: 0

0 commit comments

Comments
 (0)
Please sign in to comment.