mirror of
https://github.com/github/codeql-action.git
synced 2026-10-03 17:41:28 +00:00
Be more precise about when to use python 3.11
Only run use 3.11 on versions of of the CLI that we know don't support 3.12.
This commit is contained in:
13
.github/workflows/__init-with-registries.yml
generated
vendored
13
.github/workflows/__init-with-registries.yml
generated
vendored
@@ -53,7 +53,18 @@ jobs:
|
||||
steps:
|
||||
- name: Setup Python on MacOS
|
||||
uses: actions/setup-python@v2
|
||||
if: matrix.os == 'macos-latest'
|
||||
if: >-
|
||||
matrix.os == 'macos-latest' && (
|
||||
|
||||
matrix.version == 'stable-20220908' ||
|
||||
|
||||
matrix.version == 'stable-20221211' ||
|
||||
|
||||
matrix.version == 'stable-20230418' ||
|
||||
|
||||
matrix.version == 'stable-v2.13.5' ||
|
||||
|
||||
matrix.version == 'stable-v2.14.6')
|
||||
with:
|
||||
python-version: '3.11'
|
||||
- name: Check out repository
|
||||
|
||||
Reference in New Issue
Block a user