File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ name: access-token-management\ci
3
3
permissions :
4
4
contents : read
5
5
checks : write
6
+ packages : write
6
7
7
8
on :
8
9
workflow_dispatch :
74
75
if : (github.ref == 'refs/heads/main' || contains(github.ref, 'refs/tags/'))
75
76
run : dotnet nuget push artifacts\*.nupkg -s https://www.myget.org/F/duende_identityserver/api/v2/package -k ${{ secrets.MYGET }}
76
77
78
+ - name : Push NuGet package to GitHub Packages
79
+ run : dotnet nuget push artifacts\*.nupkg --source https://nuget.pkg.github.com/DuendeSoftware/index.json --api-key ${{ secrets.GITHUB_TOKEN }}
80
+ env :
81
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
82
+ NUGET_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
83
+
77
84
- name : Upload artifacts
78
85
uses : actions/upload-artifact@v4
79
86
if : (github.ref == 'refs/heads/main' || contains(github.ref, 'refs/tags/'))
You can’t perform that action at this time.
0 commit comments