Skip to content

Commit a5bb64e

Browse files
ci: dang gum
1 parent 9d42bc0 commit a5bb64e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,13 @@ jobs:
5454
run: dotnet pack --no-build -c ${{ env.Configuration }} -o nupkgs /p:Version=${{ env.PackageVersion }}
5555

5656
- name: Publish to NuGet.org
57-
run: dotnet nuget push "nupkgs\*.nupkg" --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
57+
run: dotnet nuget push "nupkgs\*.nupkg" `
58+
--api-key "${{ secrets.NUGET_API_KEY }}" `
59+
--source "https://api.nuget.org/v3/index.json"
5860

5961
- name: Push to GitHub Packages
60-
run: dotnet nuget push "nupkgs\*.nupkg" --api-key ${{ secrets.GITHUB_TOKEN }} --source nuget.pkg.github.com/${{ github.repository_owner }}/index.json
62+
run: dotnet nuget push "nupkgs\*.nupkg" `
63+
--api-key "${{ secrets.GITHUB_TOKEN }}" `
64+
--source "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json"
6165
env:
6266
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)