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'