From 5205fc88be6c57108758f59a8aad8b3f5931b43e Mon Sep 17 00:00:00 2001 From: Daniel Stoops Date: Sun, 25 Aug 2024 21:44:31 +0300 Subject: [PATCH] Publish to pypi source distribution only - install numpy --- .github/workflows/publish-to-pypi.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index e6cab9b..7ad0832 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -19,7 +19,9 @@ jobs: with: python-version: ${{ matrix.python-version }} - name: Build a source tarball - run: python3 setup.py sdist + run: | + python3 -m pip install numpy + python3 setup.py sdist - name: Store the distribution packages uses: actions/upload-artifact@v3 with: