From 5853b1f8593584a4612aa5b226954cb546c064e1 Mon Sep 17 00:00:00 2001 From: Confidence Yobo Date: Tue, 14 Sep 2021 05:44:16 -0500 Subject: [PATCH] Add action to build python as package --- .github/workflows/python-package.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index ddc2f06..da3babd 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -35,3 +35,10 @@ jobs: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + - name: py-package-publish + # You may pin to the exact commit or the version. + # uses: mariamrf/py-package-publish-action@6f9dbe7625b3eb881550e953f99b28d583add3f9 + uses: mariamrf/py-package-publish-action@v1.1.0 + with: + # a Python version that is supported by pyenv. + python_version: 3.7.0