From db84026ccec828eeef8293b2f113be744bbf4f70 Mon Sep 17 00:00:00 2001 From: Jens Krumsieck Date: Thu, 1 Dec 2022 15:17:21 +0100 Subject: [PATCH] Update dotnet.yml --- .github/workflows/dotnet.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 2d1ada5..cc102ec 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -46,4 +46,4 @@ jobs: - run: cd ../ - name: publish github run: dotnet nuget push tmp\*.nupkg --skip-duplicate -k ${{secrets.GITHUB_TOKEN}} -s https://nuget.pkg.github.com/JensKrumsieck/index.json - if: github.event_name != 'pull_request' + if: ${{ github.event_name == 'push' && github.repository_owner == 'JensKrumsieck' }}