From d097fca46a8395b24fe152e4d57faebf4bb0cdbe Mon Sep 17 00:00:00 2001 From: Michael Chow Date: Mon, 21 Jun 2021 09:24:04 -0400 Subject: [PATCH] ci: fix deploy with gh actions --- .github/workflows/ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b1a50a08..59e2f1e9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -78,7 +78,16 @@ jobs: runs-on: ubuntu-latest if: github.event_name == 'release' steps: + - uses: actions/checkout@v2 + - name: "Set up Python 3.8" + uses: actions/setup-python@v2 + with: + python-version: "3.8" + - name: "Build Package" + runs: + python setup.py build sdist - uses: pypa/gh-action-pypi-publish@master with: + user: __token__ password: ${{ secrets.PYPI_API_TOKEN }} repository_url: https://test.pypi.org/legacy/