Skip to content

Commit 8a128a2

Browse files
authored
[chore] Fix ubuntu-latest can not setup python in github action (#37)
actions/setup-python#162 (comment)
1 parent f9167c8 commit 8a128a2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/ci.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ jobs:
7777
# YAML parse `3.10` to `3.1`, so we have to add quotes for `'3.10'`, see also:
7878
# https://github.com/actions/setup-python/issues/160#issuecomment-724485470
7979
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11']
80-
os: [ubuntu-latest, macOS-latest, windows-latest]
80+
# FIXME: temp change os to ubuntu-20.04 to fix python can not found error https://github.com/actions/setup-python/issues/162#issuecomment-1325307787
81+
os: [ubuntu-20.04, macOS-latest, windows-latest]
8182
# Skip because dependence [py4j](https://pypi.org/project/py4j/) not work on those environments
8283
exclude:
8384
- os: windows-latest

0 commit comments

Comments
 (0)