Skip to content

Commit b4a8784

Browse files
committed
Update NuGet push command in Release.yml
Replaced the use of `${{ env.NUGET_PATH }}` with a wildcard pattern `**\*.nupkg` in the "Publish" step of `Release.yml`. This ensures that all `.nupkg` files in the directory and its subdirectories are pushed to the NuGet repository, improving flexibility and reliability.
1 parent 8b580e0 commit b4a8784

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/Release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,4 @@ jobs:
5252
user: Ieuan
5353

5454
- name: Publish
55-
run: nuget push ${{ env.NUGET_PATH }} -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{steps.login.outputs.NUGET_API_KEY}}
55+
run: nuget push **\*.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{steps.login.outputs.NUGET_API_KEY}}

0 commit comments

Comments
 (0)