File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -23,17 +23,23 @@ jobs:
2323 with :
2424 name : nupkgs
2525 - name : Push to pkg.github.com
26- run : dotnet nuget push "** /*.nupkg" -s https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json -k ${{ secrets.GH_FULL_PAT }} --skip-duplicate
26+ run : dotnet nuget push "nupkgs /*.nupkg" -s https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json -k ${{ secrets.GH_FULL_PAT }} --skip-duplicate
2727
2828 nuget :
2929 name : Deploy to NuGet
3030 needs : [build]
3131 if : startsWith(github.ref, 'refs/tags/v')
3232 runs-on : ubuntu-24.04
3333 steps :
34+ - name : Checkout
35+ uses : actions/checkout@v4
3436 - name : Download artifacts
3537 uses : actions/download-artifact@v4
3638 with :
3739 name : nupkgs
40+ - name : Create GitHub Release
41+ run : gh release create ${{ github.ref_name }} nupkgs/*nupkg
42+ env :
43+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3844 - name : Push to nuget.org
39- run : dotnet nuget push "** /*.nupkg" -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_DEPLOY_KEY }}
45+ run : dotnet nuget push "nupkgs /*.nupkg" -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_DEPLOY_KEY }}
You can’t perform that action at this time.
0 commit comments