diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 1cf4b6a8..11ec133a 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -17,11 +17,14 @@ jobs: - name: Set up Python uses: actions/setup-python@v2 with: - python-version: '3.x' + python-version: '3.8' - name: Install dependencies run: | python -m pip install --upgrade pip - pip install setuptools wheel twine + pip install build setuptools wheel twine + - name: build binary wheel and a source tarball + run: | + python -m build --sdist --wheel --outdir dist/ - name: Publish a Python distribution to PyPI uses: pypa/gh-action-pypi-publish@master with: