From 660949a302863018ebbc4a1b6fe4a3b3740bb20d Mon Sep 17 00:00:00 2001 From: Arjen Kroezen Date: Fri, 22 Sep 2023 10:39:16 +0200 Subject: [PATCH] ci: fix publishing from main branch --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c46683af..1b165111 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,5 +40,5 @@ jobs: - name: Create the package run: dotnet pack --configuration Release src/AzureDataFactory.TestingFramework - name: Publish the package to GPR - if: github.ref == 'refs/heads/master' + if: github.ref == 'refs/heads/main' run: dotnet nuget push src/AzureDataFactory.TestingFramework/bin/Release/*.nupkg --source "https://nuget.pkg.github.com/arjendev/index.json" --api-key ${{ secrets.PUBLISH_KEY }} --skip-duplicate \ No newline at end of file