From 4203db3c886142f5fad476b4da84cdae9df2fd24 Mon Sep 17 00:00:00 2001 From: Warren Christian <70002196+warrenchristian1telus@users.noreply.github.com> Date: Wed, 11 Oct 2023 17:49:20 -0700 Subject: [PATCH] Adjust CLEAN_BUILDS --- .github/workflows/build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 06d9992..9c627fe 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -167,12 +167,13 @@ jobs: BUILD_NAMESPACE: ${{ env.BUILD_NAMESPACE }} DEPLOY_NAMESPACE: ${{ env.DEPLOY_NAMESPACE }} BRANCH: ${{ env.BRANCH }} + CLEAN_BUILDS: ${{ env.CLEAN_BUILDS }} call-cleanup-workflow: - name: 🧹️ Clean Build ( ${{ env.CLEAN_BUILDS }} ) + name: 🧹️ Clean Build ( ${{ needs.build-images.outputs.CLEAN_BUILDS }} ) uses: ./.github/workflows/cleanup.yml needs: [checkEnv, build-images] - if: success() && ${{ needs.checkEnv.CLEAN_BUILDS == 'YES' }} + if: success() && ${{ needs.build-images.outputs == 'YES' }} secrets: inherit with: APP: ${{ needs.build-images.outputs.APP }}