Skip to content

Commit 0e3ad77

Browse files
authored
Update publish-to-nuget.yml
1 parent dfa336d commit 0e3ad77

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

.github/workflows/publish-to-nuget.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@ name: .NET
66
on:
77
create:
88
branches: [ "release/**" ]
9-
push:
10-
branches: [ "main" ]
11-
tags:
12-
- v*
13-
pull_request:
14-
branches: [ "main" ]
159

1610
jobs:
1711
deploy:
@@ -50,11 +44,3 @@ jobs:
5044
- name: Publish to NuGet
5145
if: startsWith(github.ref, 'refs/heads/release')
5246
run: nuget push **\*.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGET_API_KEY}}
53-
54-
- name: Create Release
55-
uses: softprops/action-gh-release@v1
56-
if: ${{ !contains(github.ref, 'beta') }}
57-
with:
58-
draft: false
59-
name: ${{ github.ref_name }} Release
60-
body_path: Src/Library/changelog.md

0 commit comments

Comments
 (0)