From 16ecb5d9f526e3bbbe8629b4e95e07af0bf91d80 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Tue, 10 Dec 2024 00:29:55 +0100 Subject: [PATCH] better condition --- .github/workflows/release_stable.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release_stable.yml b/.github/workflows/release_stable.yml index 5b521d9..9ffe775 100644 --- a/.github/workflows/release_stable.yml +++ b/.github/workflows/release_stable.yml @@ -90,13 +90,13 @@ jobs: branch: ${{ needs.check_image.outputs.version }} - name: notcreated - if: ((needs.check_image.outputs.has_branch == 'false') || (github.event.inputs.force_rebuild == 'true')) && (steps.create.outputs.created == 'false') + if: (steps.create.outputs.created != 'true') run: | SUMMARY=$'Branch ${{ needs.check_image.outputs.version }} has not been created.' echo "$SUMMARY" >> $GITHUB_STEP_SUMMARY - name: created - if: ((needs.check_image.outputs.has_branch == 'false') || (github.event.inputs.force_rebuild == 'true')) && (steps.create.outputs.created == 'true') + if: (steps.create.outputs.created == 'true') run: | SUMMARY=$' Branch ${{ needs.check_image.outputs.version }} has been created.' echo "$SUMMARY" >> $GITHUB_STEP_SUMMARY