From 0333ba188fc2ee23f85ea93e99ecdf92f26fad04 Mon Sep 17 00:00:00 2001 From: MattMod <86956468+MattMod@users.noreply.github.com> Date: Fri, 1 Jul 2022 17:41:09 +0200 Subject: [PATCH] fix: check if build BE job --- .github/workflows/release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b2a345d61..c99967103 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -225,7 +225,10 @@ jobs: docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG buildBE: - if: ${{ github.event.inputs.version == '' }} + if: ${{ github.event.inputs.version == '' && (needs.CheckInputModules.outputs.ms-ente == 'true' || + needs.CheckInputModules.outputs.ms-gestione-utente == 'true' || needs.CheckInputModules.outputs.ms-notifiche-integration == 'true' || + needs.CheckInputModules.outputs.ms-open-data == 'true' || needs.CheckInputModules.outputs.ms-programma-progetto == 'true' || + needs.CheckInputModules.outputs.ms-questionario-cittadino == 'true' ) }} needs: [CheckInputModules, DryRunRelease] name: BE Build runs-on: ubuntu-latest