From be5e8f6033c0bac811412421a35a55ea01c6294d Mon Sep 17 00:00:00 2001 From: Pavel Kravtsov <45625714+MikeAmputer@users.noreply.github.com> Date: Fri, 24 May 2024 12:20:58 +0300 Subject: [PATCH] Update release-templates.yml --- .github/workflows/release-templates.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/release-templates.yml b/.github/workflows/release-templates.yml index e065b76..5e63798 100644 --- a/.github/workflows/release-templates.yml +++ b/.github/workflows/release-templates.yml @@ -25,3 +25,16 @@ jobs: with: name: templates-package path: src/ClickHouse.Facades.Templates/bin/Release/ClickHouse.Facades.Templates.${{ github.event.inputs.version }}.nupkg + + push-nuget-org: + runs-on: ubuntu-latest + needs: [build] + name: Push to NuGet.org + steps: + - name: Download Artifact + uses: actions/download-artifact@v4 + with: + name: templates-package + + - name: Push Package + run: dotnet nuget push ClickHouse.Facades.Templates.*.nupkg --skip-duplicate --api-key ${{ secrets.NUGET_ORG_API_KEY }} --source https://api.nuget.org/v3/index.json