From 16e10ce51e2f5f1c59e79e1abd97de88023aaa08 Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Wed, 1 Nov 2023 05:57:53 -0500 Subject: [PATCH] sdist --- .github/workflows/python.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 5f47dc8f..da54e590 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -36,6 +36,9 @@ jobs: # last upstream patch releases with installers. # https://github.com/actions/setup-python/issues/439#issuecomment-1247646682 include: + - os: ubuntu-latest + python-version: "3.12" + sdist: sdist - os: macos-latest python-version: "3.9" upstream-python: 3.9.13 @@ -75,7 +78,10 @@ jobs: esac - name: Build wheel run: | - python -m build -w + if [ -z "${{ matrix.sdist }}" ]; then + wheel_only=-w + fi + python -m build $wheel_only case "${{ matrix.os }}" in ubuntu-*) mkdir old