Skip to content

Commit

Permalink
github: run on windows-latest
Browse files Browse the repository at this point in the history
  • Loading branch information
jfolz committed Sep 3, 2024
1 parent f5e3fff commit 08e082e
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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/[email protected]
- 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/[email protected]
- 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 }}

0 comments on commit 08e082e

Please sign in to comment.