Skip to content

Commit 4067470

Browse files
committed
try to use brew version of python
1 parent c100575 commit 4067470

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,20 +62,25 @@ jobs:
6262
run: git apply -v "${{ env.IMGTOOL_PACKING_PATH }}/patches/"*
6363

6464
- name: Set up Python ${{ env.PYTHON_VERSION }}
65+
if: matrix.os != 'macos-10.15'
6566
uses: actions/setup-python@v3
6667
with:
6768
python-version: ${{ env.PYTHON_VERSION }}
6869
architecture: ${{ matrix.python_arch }}
70+
71+
- name: Set up Python ${{ env.PYTHON_VERSION }} on macOS
72+
if: matrix.os == 'macos-10.15'
73+
run: brew install python@${{ env.PYTHON_VERSION }}
6974

7075
- name: Upgrade PIP
71-
run: python -m pip install --upgrade pip setuptools wheel
76+
run: python3 -m pip install --upgrade pip setuptools wheel
7277

7378
- name: Install python dependencies
7479
working-directory: ${{ env.MCUBOOT_PATH }}/scripts/
75-
run: pip install -r requirements.txt
80+
run: pip3 install -r requirements.txt
7681

7782
- name: Install pyinstaller
78-
run: pip install pyinstaller==5.0.1
83+
run: pip3 install pyinstaller==5.0.1
7984

8085
- name: Build
8186
if: matrix.os != 'macos-10.15'

0 commit comments

Comments
 (0)