From 0d924e4c229137b88cd98413734933db0cdb6c88 Mon Sep 17 00:00:00 2001 From: "Georg Eckert (ZEISS)" <67101763+georg-eckert-zeiss@users.noreply.github.com> Date: Wed, 22 Feb 2023 10:09:07 +0100 Subject: [PATCH] Update publish.yml --- .github/workflows/publish.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ac48f44..83cec4b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -6,7 +6,7 @@ on: workflow_call: inputs: target: - description: 'Define the target feed to push the artifact.' + description: 'Define the target feed to push the artifact (e.g. nuget.org).' required: true type: string @@ -27,4 +27,5 @@ jobs: name: packages path: package_output - name: Push to nuget.org + # Publish all packages in "package_output". Skip if already published. Don't upload symbol packages. Get API key from secret "NUGET_FEED_PAT". run: dotnet nuget push package_output/*.nupkg --skip-duplicate --no-symbols --api-key ${{ secrets.NUGET_FEED_PAT }} --source https://api.nuget.org/v3/index.json