From 895e520376ba20c5299ef5e188dfae8d9083f3d2 Mon Sep 17 00:00:00 2001 From: Mark Ridgwell Date: Thu, 18 Apr 2024 16:59:43 +0000 Subject: [PATCH] [Actions] Updated .github/actions/dotnet/action.yml --- .github/actions/dotnet/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/dotnet/action.yml b/.github/actions/dotnet/action.yml index f39f3c4a..0c02a1cb 100644 --- a/.github/actions/dotnet/action.yml +++ b/.github/actions/dotnet/action.yml @@ -77,7 +77,7 @@ runs: run: echo "DOTNET_RELEASE_DEFINES=/p:IsProduction=True" >> "$GITHUB_ENV" - name: "Dotnet: Run build check (Pre-Release)" - if: !endsWith(github.repository, 'funfair-build-check') && !endsWith(github.repository, '-template') + if: ${{ (!endsWith(github.repository, 'funfair-build-check')) && (!endsWith(github.repository, '-template')) }} uses: ./.github/actions/build-check with: GITHUB_TOKEN: ${{inputs.GITHUB_TOKEN}}