Publish python 2 and 3 github action

This commit is contained in:
p1c2u 2021-02-01 22:00:02 +00:00
parent c309089efc
commit 605bc74443

View file

@ -10,12 +10,15 @@ on:
jobs: jobs:
deploy: deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy:
matrix:
python-version: [2.7, 3.6]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Set up Python - name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2 uses: actions/setup-python@v2
with: with:
python-version: '3.x' python-version: ${{ matrix.python-version }}
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip