Skip to content

Commit 48640fd

Browse files
committed
'dotnet nuget push' now works
1 parent db0cd18 commit 48640fd

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -68,16 +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-
# Workaround bug when pushing to GitHub Packages. See https://github.com/NuGet/Home/issues/9775
72-
env:
73-
DOTNET_SYSTEM_NET_HTTP_USESOCKETSHTTPHANDLER: 0
74-
run: |
75-
$count = 0;
76-
do {
77-
++$count;
78-
dotnet nuget push .\windows-latest\*.nupkg --source GitHub --skip-duplicate;
79-
}
80-
while ($count -lt 1000 -and $LastExitCode -ne 0)
71+
run: dotnet nuget push .\windows-latest\*.nupkg --source GitHub --skip-duplicate
8172
shell: pwsh
8273

8374
push-nuget:

0 commit comments

Comments
 (0)