From aa5935bea475349759d29ead41077aa27504d34a Mon Sep 17 00:00:00 2001 From: Mark Ridgwell Date: Thu, 26 Oct 2023 09:59:37 +0100 Subject: [PATCH] Fixing conditions --- .github/actions/build/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/build/action.yml b/.github/actions/build/action.yml index 6185dbb0..fa0f1358 100644 --- a/.github/actions/build/action.yml +++ b/.github/actions/build/action.yml @@ -219,7 +219,7 @@ runs: { echo "DEPLOY=true"; echo "RELEASE=false"; } >> "$GITHUB_ENV" - name: Deploy check - Is release branch - if: !contains(env.BUILD_VERSION, "-") + if: contains(env.BUILD_VERSION, '-') == false shell: bash run: | { echo "DEPLOY=true"; echo "RELEASE=true"; } >> "$GITHUB_ENV"