Skip to content

Commit 605bc74

Browse files
committed
Publish python 2 and 3 github action
1 parent c309089 commit 605bc74

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Diff for: .github/workflows/python-publish.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,15 @@ on:
1010
jobs:
1111
deploy:
1212
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
python-version: [2.7, 3.6]
1316
steps:
1417
- uses: actions/checkout@v2
15-
- name: Set up Python
18+
- name: Set up Python ${{ matrix.python-version }}
1619
uses: actions/setup-python@v2
1720
with:
18-
python-version: '3.x'
21+
python-version: ${{ matrix.python-version }}
1922
- name: Install dependencies
2023
run: |
2124
python -m pip install --upgrade pip

0 commit comments

Comments
 (0)