Skip to content

Commit e694713

Browse files
committed
Github: Backport action changes to 2.4.0 release
1 parent 364a6a7 commit e694713

File tree

2 files changed

+16
-12
lines changed

2 files changed

+16
-12
lines changed

.github/workflows/build-pypi.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,16 @@ on:
1515
jobs:
1616

1717
build:
18-
runs-on: ubuntu-latest
18+
runs-on: ubuntu-20.04
19+
strategy:
20+
matrix:
21+
python-version: ["3.6"]
1922
steps:
20-
- uses: actions/checkout@v2
21-
22-
- name: Set up Python 3.x
23-
uses: actions/setup-python@v2
23+
- uses: actions/checkout@v3
24+
- name: Set up Python ${{ matrix.python-version }}
25+
uses: actions/setup-python@v4
2426
with:
25-
python-version: '3.x'
27+
python-version: ${{ matrix.python-version }}
2628

2729
- name: Install dependencies
2830
run: |

.github/workflows/test.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,16 @@ on: [push, pull_request]
33
jobs:
44

55
build:
6-
runs-on: ubuntu-latest
6+
runs-on: ubuntu-20.04
7+
strategy:
8+
matrix:
9+
python-version: ["3.6"]
710
steps:
8-
- uses: actions/checkout@v2
9-
10-
- name: Set up Python 3.6
11-
uses: actions/setup-python@v2
11+
- uses: actions/checkout@v3
12+
- name: Set up Python ${{ matrix.python-version }}
13+
uses: actions/setup-python@v4
1214
with:
13-
python-version: '3.6'
15+
python-version: ${{ matrix.python-version }}
1416

1517
- name: Install dependencies
1618
run: |

0 commit comments

Comments
 (0)