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