We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3345210 commit 6dbfa39Copy full SHA for 6dbfa39
.github/workflows/nuget.yml
@@ -42,4 +42,5 @@ jobs:
42
43
- name: Push NuGet package
44
run: |
45
- dotnet nuget push ${GITHUB_WORKSPACE}/nupkgs/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
+ $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