From 9938cc0622c4d63962097b2aed6fdd714623e7d8 Mon Sep 17 00:00:00 2001 From: "Chayim I. Kirshen" Date: Thu, 4 Nov 2021 13:39:46 +0200 Subject: adding wheel support --- .github/workflows/pypi-publish.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pypi-publish.yaml b/.github/workflows/pypi-publish.yaml index 3b6e208..b842c36 100644 --- a/.github/workflows/pypi-publish.yaml +++ b/.github/workflows/pypi-publish.yaml @@ -1,6 +1,6 @@ name: Publish tag to Pypi -on: +on: release: types: [published] @@ -17,15 +17,15 @@ jobs: - name: Install dev tools run: | pip install -r dev_requirements.txt - pip install twine + pip install twine wheel - name: Build package run: | python setup.py build - python setup.py dist + python setup.py dist bdist_wheel - name: Publish to Pypi uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ - password: ${{ secrets.PYPI_API_TOKEN }} \ No newline at end of file + password: ${{ secrets.PYPI_API_TOKEN }} -- cgit v1.2.1