Default python version is used when building image (#13285)
For image build the python version is passed via
PYTHON_MAJOR_MINOR_VERSION but there is a part of the build
(preparing airflow package) that uses python installed on host.
This is fine for Master/2.0 to use same version as the image
but it should be unified (and in 1.10 when trying to build 2.7
image it would fail).
(cherry picked from commit c2bedd580c
)
This commit is contained in:
Родитель
e5054ee966
Коммит
2163ef4936
|
@ -317,7 +317,7 @@ jobs:
|
|||
- name: "Setup python"
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
python-version: ${{ needs.build-info.outputs.defaultPythonVersion }}
|
||||
if: steps.defaults.outputs.proceed == 'true'
|
||||
- name: >
|
||||
Override "scripts/ci" with the "${{ needs.cancel-workflow-runs.outputs.targetBranch }}" branch
|
||||
|
|
Загрузка…
Ссылка в новой задаче