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 4040 if : github.ref == 'refs/heads/prerelease' || startsWith(github.ref, 'refs/tags')
4141 name : Publish NuGet package
4242 steps :
43- - name : Create tag
43+ - name : Create Tag
4444 if : github.ref == 'refs/heads/prerelease'
45454646 with :
5252 - run : dotnet nuget push ${{ needs.package.outputs.nupkg-filename }} --source https://api.nuget.org/v3/index.json --api-key "${{ secrets.NUGET_API_KEY }}"
5353 - 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
5454 - 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