Skip to content

Commit cc601a5

Browse files
Fix push operation in build script
1 parent fe08767 commit cc601a5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,12 @@ jobs:
8686
- name: Push package to NuGet
8787
if: ${{ env.STRAVAIG_PUBLISH_TO_NUGET == 'true' }}
8888
shell: pwsh
89-
run: get-childitem *.nupkg | ForEach-Object { $name = $_.FullName; dotnet nuget push "$name" --api-key ${{ secrets.STRAVAIG_NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json }
89+
run: |
90+
Get-ChildItem ./out/*.nupkg | ForEach-Object {
91+
$name = $_.FullName;
92+
Write-Output "Pushing $name";
93+
dotnet nuget push "$name" --api-key ${{ secrets.STRAVAIG_NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
94+
}
9095
9196
- name: List Contributors
9297
shell: pwsh

0 commit comments

Comments
 (0)