From aa614e7b72fc4b375d4c788d45044ebcaae576a8 Mon Sep 17 00:00:00 2001 From: Tom Russell Date: Fri, 9 Jun 2023 17:12:14 +0100 Subject: [PATCH] Should build both wheel and sdist --- .github/workflows/package.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 773411b..2749ce7 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -5,25 +5,25 @@ on: types: [published] jobs: - build_sdist: - name: Build SDist + build: + name: Build runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Build SDist - run: pipx run build --sdist + - name: Build SDist and wheel + run: pipx run build - name: Check metadata run: pipx run twine check dist/* - uses: actions/upload-artifact@v2 with: - path: dist/*.tar.gz + path: dist/* upload_all: name: Upload if release - needs: [build_sdist] + needs: [build] runs-on: ubuntu-latest if: github.event_name == 'release' && github.event.action == 'published'