From 2a76e64946d199a6471bcec5868d5f1cde84beb4 Mon Sep 17 00:00:00 2001 From: sethg Date: Thu, 30 May 2024 17:47:35 +0200 Subject: [PATCH] Build wheels --- .github/workflows/main.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f2fd5f1..9c97998 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -62,6 +62,13 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} + - name: Build wheel and source distributions + run: | + pip install wheel + pip install build + python -m build --wheel + python -m build --sdist + - name: Publish package if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') && matrix.python-version == '3.10' uses: pypa/gh-action-pypi-publish@release/v1