Skip to content
This repository was archived by the owner on Aug 24, 2024. It is now read-only.

Commit 7ee24f8

Browse files
author
Petteri Kautonen
authored
Update dotnet_nuget.yml
1 parent 26b4704 commit 7ee24f8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/dotnet_nuget.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,7 @@ jobs:
4343
- name: NuGet push
4444
if: ${{ github.event_name != 'pull_request' }}
4545
run: |
46-
find -name *Scintilla.NET.Gtk*.nupkg -exec nuget push "$1" $NUGET_APIKEY -Source $NUGETAPI -SkipDuplicate {} \;
47-
find -name *Scintilla.NET.Gtk*.nupkg -exec nuget push "$1" $GH_PACKAGES_APIKEY -Source $PACKAGESAPI -SkipDuplicate {} \;
46+
find . -name '*Scintilla.NET.Gtk*.nupkg' | while read line; do
47+
nuget push '$line' $NUGET_APIKEY -Source $NUGETAPI -SkipDuplicate
48+
nuget push '$line' $GH_PACKAGES_APIKEY -Source $PACKAGESAPI -SkipDuplicate
49+
done

0 commit comments

Comments
 (0)