From c3d9f973b77addbfc222c9262b6d67bd3bbfd9d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Annika=20Schl=C3=B6gl?= Date: Wed, 15 Sep 2021 11:16:57 +0200 Subject: [PATCH] Add Extension, Encryption, Reporting to nuget command Also change command style: https://github.com/NuGet/Home/issues/8580 --- .github/workflows/protobuf_v2_legacy.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/protobuf_v2_legacy.yml b/.github/workflows/protobuf_v2_legacy.yml index e251448b..506cf5df 100644 --- a/.github/workflows/protobuf_v2_legacy.yml +++ b/.github/workflows/protobuf_v2_legacy.yml @@ -28,7 +28,8 @@ jobs: run: dotnet pack --configuration Release --version-suffix "protobuf-v2-${{github.sha}}" - name: Nuget push core run: | - for f in /home/runner/work/BO4E-dotnet/BO4E-dotnet/BO4E/bin/Release/*.nupkg - do - curl -vX PUT -u "[user]:${{ secrets.GITHUB_TOKEN }}" -F package=@$f https://nuget.pkg.github.com/hochfrequenz/ - done + nuget setApiKey ${{ secrets.GITHUB_TOKEN }} + nuget push /home/runner/work/BO4E-dotnet/BO4E-dotnet/BO4E/bin/Release/*.nupkg --source https://nuget.pkg.github.com/hochfrequenz/ + nuget push /home/runner/work/BO4E-dotnet/BO4E-dotnet/BO4E.Extensions/bin/Release/*.nupkg --source https://nuget.pkg.github.com/hochfrequenz/ + nuget push /home/runner/work/BO4E-dotnet/BO4E-dotnet/BO4E.Reporting/bin/Release/*.nupkg --source https://nuget.pkg.github.com/hochfrequenz/ + nuget push /home/runner/work/BO4E-dotnet/BO4E-dotnet/BO4E-dotnet.Encryption/bin/Release/*.nupkg --source https://nuget.pkg.github.com/hochfrequenz/ \ No newline at end of file