From 21fcb6e84012be3bdca49e95bd85cec797fe3d1f Mon Sep 17 00:00:00 2001 From: Roy Shilkrot Date: Fri, 18 Oct 2024 17:18:06 -0400 Subject: [PATCH] Refactor build.yaml workflow: Add support for Python versions 3.9, 3.10, 3.11, and 3.12 --- .github/workflows/build.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 3a9e27c..63413de 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -11,6 +11,7 @@ jobs: strategy: fail-fast: false matrix: + python-version: ['3.9', '3.10', '3.11', '3.12'] include: # Windows builds - os: windows-latest @@ -44,7 +45,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.9' + python-version: ${{ matrix.python-version }} - name: Install dependencies run: | @@ -82,7 +83,7 @@ jobs: - name: Set wheel name shell: pwsh run: | - $wheelName = "wheel-${{ matrix.os }}-${{ matrix.platform }}" + $wheelName = "wheel-${{ matrix.os }}-${{ matrix.platform }}-py${{ matrix.python-version }}" if ("${{ matrix.acceleration }}" -ne "") { $wheelName += "-${{ matrix.acceleration }}" }