You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by ca...@apache.org on 2022/12/05 08:43:02 UTC
[dolphinscheduler-sdk-python] branch main updated: [chore] Fix ubuntu-latest can not setup python in github action (#37)
This is an automated email from the ASF dual-hosted git repository.
caishunfeng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler-sdk-python.git
The following commit(s) were added to refs/heads/main by this push:
new 8a128a2 [chore] Fix ubuntu-latest can not setup python in github action (#37)
8a128a2 is described below
commit 8a128a243d9bb35151380e4af30d942b60f33fbd
Author: Jay Chung <zh...@gmail.com>
AuthorDate: Mon Dec 5 16:42:56 2022 +0800
[chore] Fix ubuntu-latest can not setup python in github action (#37)
https://github.com/actions/setup-python/issues/162#issuecomment-1325307787
---
.github/workflows/ci.yaml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 069e3a7..7268186 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -77,7 +77,8 @@ jobs:
# YAML parse `3.10` to `3.1`, so we have to add quotes for `'3.10'`, see also:
# https://github.com/actions/setup-python/issues/160#issuecomment-724485470
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11']
- os: [ubuntu-latest, macOS-latest, windows-latest]
+ # 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
+ os: [ubuntu-20.04, macOS-latest, windows-latest]
# Skip because dependence [py4j](https://pypi.org/project/py4j/) not work on those environments
exclude:
- os: windows-latest