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 88 build :
99 strategy :
1010 matrix :
11- platform : [ubuntu-20 .04, windows-latest]
11+ platform : [ubuntu-22 .04, windows-latest]
1212 runs-on : ${{ matrix.platform }}
1313 steps :
1414 - 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'
1617 uses : actions/setup-python@v4
1718 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
1926 - name : Set up Python 3.8
2027 uses : actions/setup-python@v4
2128 with :
22- python-version : ' 3.8'
29+ python-version : " 3.8"
2330 - name : Set up Python 3.10
2431 uses : actions/setup-python@v4
2532 with :
26- python-version : ' 3.10'
33+ python-version : " 3.10"
2734 - name : Set up Python 3.12
2835 uses : actions/setup-python@v4
2936 with :
30- python-version : ' 3.12'
37+ python-version : " 3.12"
3138 - name : Install dependencies
3239 run : |
3340 python -m pip install --upgrade pip
You can’t perform that action at this time.
0 commit comments