From c4d523ad20396484c442c677119b3b2f32c95bdb Mon Sep 17 00:00:00 2001 From: Panu Lahtinen Date: Fri, 29 Nov 2024 14:27:58 +0200 Subject: [PATCH] Update CI build action to work without setup.py --- .github/workflows/deploy-sdist.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-sdist.yaml b/.github/workflows/deploy-sdist.yaml index 410bb00..da38193 100644 --- a/.github/workflows/deploy-sdist.yaml +++ b/.github/workflows/deploy-sdist.yaml @@ -15,7 +15,9 @@ jobs: - name: Create sdist shell: bash -l {0} - run: python setup.py sdist + run: | + python -m pip install -q build + python -m build - name: Publish package to PyPI if: github.event.action == 'published'