diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 70672704..bc7e8336 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,9 +18,6 @@ on: permissions: contents: read -env: - PYTHON_VERSION: "3.8.10 3.9.13 3.10.11 3.11 3.12" - jobs: linux: runs-on: ${{ matrix.platform.runner }} @@ -43,7 +40,12 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: ${{ env.PYTHON_VERSION }} + python-version: | + 3.8 + 3.9 + 3.10 + 3.11 + 3.12 - name: Build wheels uses: PyO3/maturin-action@v1 with: @@ -74,7 +76,12 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: ${{ env.PYTHON_VERSION }} + python-version: | + 3.8 + 3.9 + 3.10 + 3.11 + 3.12 - name: Build wheels uses: PyO3/maturin-action@v1 with: @@ -101,7 +108,12 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: ${{ env.PYTHON_VERSION }} + python-version: | + 3.8 + 3.9 + 3.10 + 3.11 + 3.12 architecture: ${{ matrix.platform.target }} - name: Build wheels uses: PyO3/maturin-action@v1 @@ -128,7 +140,12 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: ${{ env.PYTHON_VERSION }} + python-version: | + 3.8 + 3.9 + 3.10 + 3.11 + 3.12 - name: Build wheels uses: PyO3/maturin-action@v1 with: