Skip to content

Commit 3153742

Browse files
committed
Fix publish
1 parent 436edd8 commit 3153742

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
on:
2-
push:
3-
tags:
4-
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10
2+
release:
3+
types: [created]
54

65
name: Publish Release
76
jobs:
@@ -30,11 +29,3 @@ jobs:
3029
run: dotnet nuget push src/bin/Release/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_API_KEY }}
3130
continue-on-error: false
3231

33-
- name: Create Release
34-
uses: actions/create-release@master
35-
env:
36-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37-
with:
38-
tag_name: ${{ github.ref }}
39-
release_name: Release ${{ github.ref }}
40-
draft: false

0 commit comments

Comments
 (0)