From d6810bf917ec441cf5f898298bd8be765e8f9f76 Mon Sep 17 00:00:00 2001 From: Malte Rosenbjerg Date: Fri, 21 Feb 2020 17:48:29 +0100 Subject: [PATCH] Update release.yml Former-commit-id: 15bedea18350bd16049c45e425b2c1312eed9f91 --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ffc02b1..64994ca 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,5 +22,6 @@ jobs: - name: Run unit tests run: dotnet test - name: Publish NuGet package + if: github.event.pull_request.merged run: NUPKG=`find . -type f -name FFMpegCore*.nupkg` && dotnet nuget push $NUPKG -k ${{ secrets.NUGET_TOKEN }} -s https://api.nuget.org/v3/index.json