File tree Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Original file line number Diff line number Diff line change 8
8
build :
9
9
strategy :
10
10
matrix :
11
- platform : [ubuntu-20 .04, windows-latest]
11
+ platform : [ubuntu-22 .04, windows-latest]
12
12
runs-on : ${{ matrix.platform }}
13
13
steps :
14
14
- uses : actions/checkout@v3
15
- - name : Set up Python 3.6
15
+ - name : Set up Python 3.6 (Windows)
16
+ if : matrix.platform == 'windows-latest'
16
17
uses : actions/setup-python@v4
17
18
with :
18
- python-version : ' 3.6'
19
+ python-version : " 3.6"
20
+ - name : Set up Python 3.6 (Ubuntu)
21
+ if : matrix.platform == 'ubuntu-22.04'
22
+ run : |
23
+ sudo add-apt-repository ppa:deadsnakes/ppa
24
+ sudo apt-get update
25
+ sudo apt-get install -y python3.6
19
26
- name : Set up Python 3.8
20
27
uses : actions/setup-python@v4
21
28
with :
22
- python-version : ' 3.8'
29
+ python-version : " 3.8"
23
30
- name : Set up Python 3.10
24
31
uses : actions/setup-python@v4
25
32
with :
26
- python-version : ' 3.10'
33
+ python-version : " 3.10"
27
34
- name : Set up Python 3.12
28
35
uses : actions/setup-python@v4
29
36
with :
30
- python-version : ' 3.12'
37
+ python-version : " 3.12"
31
38
- name : Install dependencies
32
39
run : |
33
40
python -m pip install --upgrade pip
You can’t perform that action at this time.
0 commit comments