Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalybibikov committed Apr 16, 2024
2 parents b6df822 + a405a6b commit bdec178
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ jobs:

- name: Publish NuGet package
run: |
foreach($file in (Get-ChildItem ${{ env.NuGetDirectory }} -Recurse -Include *.nupkg)) {
dotnet nuget push $file --api-key "${{ secrets.NUGET_PUSH_KEY }}" --source https://api.nuget.org/v3/index.json --skip-duplicate
}
for file in $(find ${NuGetDirectory} -name "*.nupkg")
do
dotnet nuget push "$file" --api-key "${{secrets.NUGET_PUSH_KEY}}" --source https://api.nuget.org/v3/index.json --skip-duplicate
done

0 comments on commit bdec178

Please sign in to comment.