edithturn commented on a change in pull request #20200:
URL: https://github.com/apache/airflow/pull/20200#discussion_r772530859
##########
File path: .github/workflows/build-images.yml
##########
@@ -297,7 +301,11 @@ jobs:
rm -rf "scripts/ci"
mv "main-airflow/scripts/ci" "scripts"
- name: "Free space"
- run: ./scripts/ci/tools/free_space.sh
+ run: ./scripts/ci/tools/freespace.py
Review comment:
@potiuk I am adding setup-python before free space (first code below).
In some jobs, I found other ways to set up python. for example (see second code
below), which one I should consider?
```
- uses: actions/setup-python@v2
with:
python-version: '3.7'
cache: 'pip'
- run: pip install .
- name: "Free space"
run: ./scripts/ci/tools/freespace.py
```
```
- name: "Setup python"
uses: actions/setup-python@v2
with:
python-version: ${{needs.build-info.outputs.defaultPythonVersion}}
```
--
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]