File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 33 types :
44 - published
55
6- name : Publish to Nuget.org
6+ name : Publish to Stable
77
88jobs :
99 extract :
1717 env :
1818 GITHUB_TOKEN : ${{ github.token }}
1919
20- nuget :
21- name : Publish to Nuget.org
20+ stable :
21+ name : Publish to Stable
2222 runs-on : ubuntu-latest
23+ environment : stable
2324 needs : extract
2425 steps :
2526 - name : Checkout Repository
4142 run : dotnet test EntityDb.sln --no-restore -c Debug
4243 - name : Pack Projects into Nuget Packages
4344 run : dotnet pack EntityDb.sln --no-restore -c Release /p:Version=${{ needs.extract.outputs.version }}
44- - name : Publish to Nuget.org
45- run : dotnet nuget push */**.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_API_KEY }}
45+ - name : Publish to Stable
46+ run : dotnet nuget push */**.nupkg -s ${{ secrets.NUGET_SOURCE }} -k ${{ secrets.NUGET_API_KEY }}
You can’t perform that action at this time.
0 commit comments