Skip to content

Commit ad165cf

Browse files
committed
Push packages to GitHub
1 parent ccf8545 commit ad165cf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/access-token-management-ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,12 @@ jobs:
7474
if: (github.ref == 'refs/heads/main' || contains(github.ref, 'refs/tags/'))
7575
run: dotnet nuget push artifacts\*.nupkg -s https://www.myget.org/F/duende_identityserver/api/v2/package -k ${{ secrets.MYGET }}
7676

77+
- name: Push NuGet package to GitHub Packages
78+
run: dotnet nuget push artifacts\*.nupkg --source "https://nuget.pkg.github.com/DuendeSoftware/index.json"" --api-key ${{ secrets.GITHUB_TOKEN }}
79+
env:
80+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
81+
NUGET_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
82+
7783
- name: Upload artifacts
7884
uses: actions/upload-artifact@v4
7985
if: (github.ref == 'refs/heads/main' || contains(github.ref, 'refs/tags/'))

0 commit comments

Comments
 (0)