Skip to content

Commit 77093c7

Browse files
1yamMHHukiewitz
authored andcommitted
Fix: try to force use python 3.11 on macos-12
1 parent 66523ae commit 77093c7

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/build-wheels.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ jobs:
1212
build:
1313
strategy:
1414
matrix:
15-
os: [ macos-11, macos-12, ubuntu-20.04, ubuntu-22.04 ]
16-
runs-on: ${{matrix.os}}
15+
os: [macos-11, macos-12, ubuntu-20.04, ubuntu-22.04]
16+
runs-on: ${{ matrix.os }}
1717

1818
steps:
1919
- uses: actions/checkout@v3
@@ -22,6 +22,12 @@ jobs:
2222
if: startsWith(matrix.os, 'ubuntu-')
2323
run: sudo echo RESET grub-efi/install_devices | sudo debconf-communicate grub-pc
2424

25+
- name: Set up Python
26+
if: startsWith(matrix.os, 'macos-12')
27+
uses: actions/setup-python@v2
28+
with:
29+
python-version: 3.11
30+
2531
- name: Cache dependencies
2632
uses: actions/cache@v3
2733
with:

0 commit comments

Comments
 (0)