File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 40
40
if : github.ref == 'refs/heads/prerelease' || startsWith(github.ref, 'refs/tags')
41
41
name : Publish NuGet package
42
42
steps :
43
- - name : Create tag
43
+ - name : Create Tag
44
44
if : github.ref == 'refs/heads/prerelease'
45
45
46
46
with :
52
52
- run : dotnet nuget push ${{ needs.package.outputs.nupkg-filename }} --source https://api.nuget.org/v3/index.json --api-key "${{ secrets.NUGET_API_KEY }}"
53
53
- run : dotnet nuget add source https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json --name github --username ${{ github.repository_owner }} --password ${{ github.token }} --store-password-in-clear-text
54
54
- run : dotnet nuget push ${{ needs.package.outputs.nupkg-filename }} --source github
55
+ - name : Create Release
56
+ uses : actions/create-release@v1
57
+ env :
58
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
59
+ with :
60
+ tag_name : ${{ needs.package.outputs.version }}
61
+ release_name : Release ${{ needs.package.outputs.version }}
62
+ body : " "
63
+ draft : false
64
+ prerelease : github.ref == 'refs/heads/prerelease'
You can’t perform that action at this time.
0 commit comments