Skip to content

Commit

Permalink
Push packages to GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
damianh committed Oct 6, 2024
1 parent ccf8545 commit a83bf65
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/access-token-management-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,12 @@ jobs:
if: (github.ref == 'refs/heads/main' || contains(github.ref, 'refs/tags/'))
run: dotnet nuget push artifacts\*.nupkg -s https://www.myget.org/F/duende_identityserver/api/v2/package -k ${{ secrets.MYGET }}

- name: Push NuGet package to GitHub Packages
run: dotnet nuget push artifacts\*.nupkg --source https://nuget.pkg.github.com/DuendeSoftware/index.json --api-key ${{ secrets.GITHUB_TOKEN }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NUGET_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload artifacts
uses: actions/upload-artifact@v4
if: (github.ref == 'refs/heads/main' || contains(github.ref, 'refs/tags/'))
Expand Down

0 comments on commit a83bf65

Please sign in to comment.