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

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


The following commit(s) were added to refs/heads/v2-9-test by this push:
     new 83e6cf217f Also disable UV for PROD cache build in release branches 
(#38752)
83e6cf217f is described below

commit 83e6cf217f22124039ba9b6f8690c79f6c4d5bc5
Author: Jarek Potiuk <[email protected]>
AuthorDate: Thu Apr 4 19:36:26 2024 +0200

    Also disable UV for PROD cache build in release branches (#38752)
    
    A follow up after #38749 - we should also disable UV for cache
    building in release branches. PROD images are building just fine,
    but cache building for 3.11 fails for the same reason and we also
    have to disable UV for the cache build.
    
    (cherry picked from commit 370998d8a80ce9c47fb54d049c46d0e307ba5ef7)
---
 .github/workflows/push-image-cache.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/push-image-cache.yml 
b/.github/workflows/push-image-cache.yml
index becd7165aa..1cdb5861e4 100644
--- a/.github/workflows/push-image-cache.yml
+++ b/.github/workflows/push-image-cache.yml
@@ -167,7 +167,7 @@ jobs:
       GITHUB_USERNAME: ${{ github.actor }}
       INSTALL_MYSQL_CLIENT_TYPE: ${{ inputs.install-mysql-client-type }}
       UPGRADE_TO_NEWER_DEPENDENCIES: "false"
-      USE_UV: ${{ inputs.use-uv }}
+      USE_UV: ${{ inputs.branch == 'main' && inputs.use-uv || 'false' }}
       VERBOSE: "true"
       VERSION_SUFFIX_FOR_PYPI: "dev0"
     if: inputs.include-prod-images == 'true'

Reply via email to