From 6fc4ba5498235bc00524804aaa7ad2c43c17ec7f Mon Sep 17 00:00:00 2001 From: SKProCH Date: Thu, 25 Jul 2024 02:56:48 +0300 Subject: [PATCH] Fix pipeline for publishing nightlies --- .github/workflows/build-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-publish.yml b/.github/workflows/build-publish.yml index 7ee33f7e..9c2b5534 100644 --- a/.github/workflows/build-publish.yml +++ b/.github/workflows/build-publish.yml @@ -17,5 +17,5 @@ jobs: secrets: NUGET_KEY: ${{ secrets.NUGET_KEY }} with: - publish-nightly: ${{ github.ref_type != 'tag' && (github.ref == 'master' || github.ref == 'main') }} + publish-nightly: ${{ github.ref_type != 'tag' && (github.ref_name == 'master' || github.ref_name == 'main') }} dotnet-version: 8 \ No newline at end of file