Skip to content

Commit 73642ec

Browse files
committed
Add api key to dotnet nuget push command
1 parent 787ae1d commit 73642ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
run: dotnet nuget add source https://nuget.pkg.github.com/RehanSaeed/index.json --name GitHub --username RehanSaeed --password ${{secrets.GITHUB_TOKEN}}
6969
shell: pwsh
7070
- name: 'Dotnet NuGet Push'
71-
run: dotnet nuget push .\windows-latest\*.nupkg --source GitHub --skip-duplicate
71+
run: dotnet nuget push .\windows-latest\*.nupkg --api-key ${{ github.token }} --source GitHub --skip-duplicate
7272
shell: pwsh
7373

7474
push-nuget:

0 commit comments

Comments
 (0)