File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4444 dir
4545 dir artifacts
4646
47- - name : Publish NuGet package
48- run : dotnet nuget push "${{ github.workspace }}/artifacts/*.nupkg" --api-key ${{ secrets.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json --skip-duplicate
47+ - name : Publish NuGet packages
48+ shell : pwsh
49+ run : |
50+ Get-ChildItem -Path "${{ github.workspace }}/artifacts" -Filter *.nupkg | ForEach-Object {
51+ dotnet nuget push $_.FullName --api-key ${{ secrets.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json --skip-duplicate
52+ }
4953
50- - name : Publish symbols package
51- run : dotnet nuget push "${{ github.workspace }}/artifacts/*.snupkg" --api-key ${{ secrets.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json --skip-duplicate
54+ - name : Publish symbols packages
55+ shell : pwsh
56+ run : |
57+ Get-ChildItem -Path "${{ github.workspace }}/artifacts" -Filter *.snupkg | ForEach-Object {
58+ dotnet nuget push $_.FullName --api-key ${{ secrets.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json --skip-duplicate
59+ }
You can’t perform that action at this time.
0 commit comments