This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch v2-3-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit acc3df56c40031f04fcba733896b546a83c07fad
Author: Jarek Potiuk <jarek.pot...@polidea.com>
AuthorDate: Thu Jul 21 17:58:22 2022 +0200

    Also compile assets in non-main (#25220)
    
    Assets compilation when CI and PROD images are prepared should
    also be run in non-main branch.
    
    (cherry picked from commit 6839813bc75e62e154fe4163ffa1bda1c8e8cc8f)
---
 .github/workflows/ci.yml | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 78ef756b4f..4677ae5d47 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -339,9 +339,7 @@ jobs:
           key: 
"pre-commit-${{steps.host-python-version.outputs.host-python-version}}-\
 ${{ hashFiles('.pre-commit-config.yaml') }}"
           restore-keys: 
pre-commit-${{steps.host-python-version.outputs.host-python-version}}
-        if: >
-          needs.build-info.outputs.in-workflow-build == 'true' &&
-          needs.build-info.outputs.default-branch == 'main'
+        if: needs.build-info.outputs.in-workflow-build == 'true'
       - name: "Regenerate dependencies in case they was modified manually so 
that we can build an image"
         run: >
           breeze static-checks --type update-providers-dependencies --all-files
@@ -351,9 +349,7 @@ ${{ hashFiles('.pre-commit-config.yaml') }}"
           needs.build-info.outputs.default-branch == 'main'
       - name: Compile www assets
         run: breeze compile-www-assets
-        if: >
-          needs.build-info.outputs.in-workflow-build == 'true' &&
-          needs.build-info.outputs.default-branch == 'main'
+        if: needs.build-info.outputs.in-workflow-build == 'true'
       - name: >
           Build & Push CI images ${{ env.IMAGE_TAG_FOR_THE_BUILD }}
           ${{ needs.build-info.outputs.all-python-versions-list-as-string }}

Reply via email to