From 08e082e5fe9d2b583bc6bf7ebcc3a7de0f97c219 Mon Sep 17 00:00:00 2001 From: Joachim Folz Date: Tue, 3 Sep 2024 10:12:00 +0200 Subject: [PATCH] github: run on windows-latest --- .github/workflows/build_wheels.yml | 50 +++++++++++++++--------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index ac07de6..fdf8fa9 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -8,7 +8,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest, macos-12, macos-14, windows-2019] + os: [ubuntu-latest, macos-12, macos-14, windows-latest] arch: [x86_64, aarch64] exclude: - os: macos-12 @@ -37,14 +37,14 @@ jobs: name: Make SDist runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - name: Build SDist - run: pipx run build --sdist - - uses: actions/upload-artifact@v4 - with: - name: sdist - path: dist/*.tar.gz - if-no-files-found: error + - uses: actions/checkout@v4 + - name: Build SDist + run: pipx run build --sdist + - uses: actions/upload-artifact@v4 + with: + name: sdist + path: dist/*.tar.gz + if-no-files-found: error upload_all: needs: [build_wheels, make_sdist] runs-on: ubuntu-latest @@ -56,19 +56,19 @@ jobs: id-token: write if: github.ref_type == 'tag' steps: - - uses: actions/download-artifact@v4 - with: - path: dist - merge-multiple: true - - name: Publish to PyPI - uses: pypa/gh-action-pypi-publish@v1.9.0 - - name: Create Github Release - uses: actions/create-release@v1 - id: create_release - with: - draft: false - prerelease: false - release_name: ${{ github.ref_name }} - tag_name: ${{ github.ref }} - env: - GITHUB_TOKEN: ${{ github.token }} + - uses: actions/download-artifact@v4 + with: + path: dist + merge-multiple: true + - name: Publish to PyPI + uses: pypa/gh-action-pypi-publish@v1.9.0 + - name: Create Github Release + uses: actions/create-release@v1 + id: create_release + with: + draft: false + prerelease: false + release_name: ${{ github.ref_name }} + tag_name: ${{ github.ref }} + env: + GITHUB_TOKEN: ${{ github.token }}