From 605bc744433bfc583d1e3f9023176e4bbd82cea9 Mon Sep 17 00:00:00 2001 From: p1c2u Date: Mon, 1 Feb 2021 22:00:02 +0000 Subject: [PATCH] Publish python 2 and 3 github action --- .github/workflows/python-publish.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 7c7d8b5..60a4e56 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -10,12 +10,15 @@ on: jobs: deploy: runs-on: ubuntu-latest + strategy: + matrix: + python-version: [2.7, 3.6] steps: - uses: actions/checkout@v2 - - name: Set up Python + - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: - python-version: '3.x' + python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m pip install --upgrade pip