Skip to content

Commit fd59191

Browse files
committed
Another attempt to fix release nuget push
1 parent f91edf8 commit fd59191

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/release-build.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,9 @@ jobs:
5858
asset_name: Nuget.Packages.zip
5959
asset_content_type: application/zip
6060

61-
- uses: actions/setup-dotnet@v1
62-
with:
63-
source-url: 'https://api.nuget.org/v3/index.json'
61+
- name: Publish packages to NuGet.org
6462
env:
6563
NUGET_AUTH_TOKEN: ${{ secrets.nugetpush_access_token }}
6664
DOTNET_CLI_TELEMETRY_OPTOUT: 1
67-
68-
- name: Publish packages to NuGet.org
6965
run: |
70-
cd '.\BuildOutput\NuGet'
71-
dotnet nuget push *.nupkg -n
66+
dir .\BuildOutput\NuGet\*.nupkg | %{dotnet nuget push $_ -k $env:NUGET_AUTH_TOKEN -s 'https://api.nuget.org/v3/index.json' -n }

0 commit comments

Comments
 (0)