Skip to content

Commit d5e6285

Browse files
committed
fix(CI): the macOS-12 environment is deprecated and removed from GitHub hosted runners
1 parent 4e302aa commit d5e6285

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/test-and-publish.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616
options:
1717
- ''
1818
- 'ubuntu-20.04'
19-
- 'macos-12'
19+
- 'macos-13'
2020
- 'macos-14'
2121
- 'windows-2022'
2222
debug_enabled_python:
@@ -132,7 +132,7 @@ jobs:
132132
strategy:
133133
fail-fast: false
134134
matrix:
135-
os: [ 'ubuntu-20.04', 'macos-12', 'macos-14', 'windows-2022', 'pi' ]
135+
os: [ 'ubuntu-20.04', 'macos-13', 'macos-14', 'windows-2022', 'pi' ]
136136
python_version: [ '3.8', '3.9', '3.10', '3.11', '3.12', '3.13' ]
137137
runs-on: ${{ matrix.os }}
138138
steps:
@@ -207,7 +207,7 @@ jobs:
207207
BUILD_TYPE=${WORKFLOW_BUILD_TYPE:-"Debug"} poetry build --format=wheel
208208
ls -lah ./dist/
209209
- name: Make the wheels we build also support lower versions of macOS
210-
if: ${{ matrix.os == 'macos-12' || matrix.os == 'macos-14' }}
210+
if: ${{ matrix.os == 'macos-13' || matrix.os == 'macos-14' }}
211211
# Change the platform tag part of the wheel filename to `macosx_11_0_xxx` (means to support macOS 11.0 and above)
212212
# See https://packaging.python.org/en/latest/specifications/binary-distribution-format/#file-format
213213
# A wheel package file will only be selected by pip to install if the platform tag satisfies, regardless of whether the binary compatibility actually is.

0 commit comments

Comments
 (0)