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}}