diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b1f3f1d..456bb45 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,24 +8,25 @@ jobs: build_wheel_and_sdist: name: Build wheel runs-on: ubuntu-latest + strategy: + matrix: + python-version: [ "3.10", "3.11", "3.12", "3.13" ] steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version: ${{ matrix.python-version }} - name: Install dependencies run: pip install build - name: Build wheel and sdist - run: python3 -m build + run: python -m build - uses: actions/upload-artifact@v4 with: name: artifact - path: dist/numbat*.whl - - uses: actions/upload-artifact@v4 - with: - name: artifact - path: dist/*.tar.gz + path: | + dist/numbat*.whl + dist/*.tar.gz upload_pypi: needs: build_wheel_and_sdist