Skip to content

Commit 6dbfa39

Browse files
committed
nuget fix ?
1 parent 3345210 commit 6dbfa39

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/nuget.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,5 @@ jobs:
4242

4343
- name: Push NuGet package
4444
run: |
45-
dotnet nuget push ${GITHUB_WORKSPACE}/nupkgs/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
45+
$PackageFile = (Get-ChildItem -Path "${GITHUB_WORKSPACE}/nupkgs" -Include 'SecretAPI.*.nupkg' -Recurse | Select-Object -First 1).FullName
46+
dotnet nuget push ${{ env.PackageFile }} --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json

0 commit comments

Comments
 (0)