potiuk commented on code in PR #50115:
URL: https://github.com/apache/airflow/pull/50115#discussion_r2071300955


##########
.github/workflows/prod-image-build.yml:
##########
@@ -143,14 +139,22 @@ jobs:
         with:
           use-uv: ${{ inputs.use-uv }}
         if: inputs.upload-package-artifact == 'true'
-      - name: "Prepare providers packages"
+      - name: "Prepare providers packages - all providers built from sources"
         shell: bash
         run: >
           breeze release-management prepare-provider-distributions
           --distributions-list-file ./prod_image_installed_providers.txt
           --distribution-format wheel --include-not-ready-providers 
--skip-tag-check
         if: >
-          inputs.upload-package-artifact == 'true' && 
inputs.build-provider-distributions == 'true'
+          inputs.upload-package-artifact == 'true' && inputs.branch == 'main'
+      - name: "Prepare providers packages with only new versions of providers"
+        shell: bash
+        run: >
+          breeze release-management prepare-provider-distributions
+          --distributions-list-file ./prod_image_installed_providers.txt
+          --distribution-format wheel --include-not-ready-providers

Review Comment:
   In `main` on-the-other hand - we always build all providers, because we want 
to test `main` versions of those providers.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to