From 3f742bff576d6801b5d10b7557e5c9ac706c6461 Mon Sep 17 00:00:00 2001 From: Thomas Ardal Date: Sat, 11 Mar 2023 16:08:52 +0100 Subject: [PATCH] Push to nuget --- .github/workflows/dotnet.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index a91d86d..c45a8ac 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -38,3 +38,6 @@ jobs: with: name: CronExpressions.Analyzers.1.0.${{ github.run_number }}.nupkg path: src\CronExpressions.Analyzers\bin\Release\CronExpressions.Analyzers.1.0.${{ github.run_number }}.nupkg + - name: Push CronExpressions.Analyers to nuget.org + run: dotnet nuget push src\CronExpressions.Analyzers\bin\Release\CronExpressions.Analyzers.1.0.${{ github.run_number }}.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json + if: ${{ github.event_name == 'push' }}