From eefed9b2adbc13b24be1524e42a674d8171abcfe Mon Sep 17 00:00:00 2001 From: Robert Resch Date: Wed, 29 Sep 2021 16:14:37 +0200 Subject: [PATCH] fix build --- .github/workflows/python-publish.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 22b9107..b0d33b1 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -31,18 +31,18 @@ jobs: - name: Set up Python uses: actions/setup-python@v2 with: - python-version: "3.x" + python-version: "3.9" - name: Install dependencies run: | python -m pip install --upgrade pip - pip install build + pip install setuptools wheel - name: 📦 Build package - run: python -m build + run: python setup.py sdist bdist_wheel - name: 📤 Publish package - uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 + uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ password: ${{ secrets.PYPI_API_TOKEN }}