Skip to content

Commit b38a376

Browse files
committed
Don't bother with GitHub Package Registry
It's impossible to use the GitHub package repository NuGet feed without authentication! https://github.community/t/download-from-github-package-registry-without-authentication/14407 See also https://docs.github.com/en/packages/guides/configuring-dotnet-cli-for-use-with-github-packages
1 parent a369106 commit b38a376

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@ jobs:
5454
with:
5555
repo-token: ${{ github.token }}
5656
tag: ${{ needs.package.outputs.version }}
57-
- run: dotnet nuget add source https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json --name github --username ${{ github.repository_owner }} --password ${{ github.token }} --store-password-in-clear-text
5857
- uses: actions/download-artifact@v2
5958
with:
6059
name: nuget-package-macos-latest
61-
- run: dotnet nuget push ${{ needs.package.outputs.nupkg-filename }} --source github
60+
- run: dotnet nuget push ${{ needs.package.outputs.nupkg-filename }} --source https://api.nuget.org/v3/index.json --api-key "${{ secrets.NUGET_API_KEY }}"

0 commit comments

Comments
 (0)