diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a16684c..8cf0e95 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,9 +1,11 @@ -name: CI +name: Build Wheels on: push: tags: - v* + branches: + - master concurrency: group: build-${{ github.head_ref }} @@ -29,12 +31,12 @@ jobs: fetch-depth: 0 - name: Build wheels - uses: pypa/cibuildwheel@v2.16.5 + uses: pypa/cibuildwheel@v2.21.3 env: CIBW_ARCHS_MACOS: x86_64 HATCH_BUILD_HOOKS_ENABLE: "true" - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: name: artifacts path: wheelhouse/*.whl @@ -61,12 +63,12 @@ jobs: platforms: arm64 - name: Build wheels - uses: pypa/cibuildwheel@v2.15.0 + uses: pypa/cibuildwheel@v2.21.3 env: CIBW_ARCHS_LINUX: aarch64 HATCH_BUILD_HOOKS_ENABLE: "true" - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: name: artifacts path: wheelhouse/*.whl @@ -87,7 +89,7 @@ jobs: path: dist - name: Push build artifacts to PyPI - uses: pypa/gh-action-pypi-publish@v1.4.2 + uses: pypa/gh-action-pypi-publish@v1.10.3 with: skip_existing: true user: __token__ diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0833185..fbbe059 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -25,7 +25,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v2