Skip to content

Commit 9f41bc5

Browse files
authored
Merge branch 'main' into copilot/add-async-function-extensions
2 parents 2e969bd + f60e3fb commit 9f41bc5

4 files changed

Lines changed: 26 additions & 26 deletions

File tree

.github/workflows/python-publish.yml

Lines changed: 10 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ permissions:
1919
jobs:
2020
linux:
2121
name: Build for Linux
22-
runs-on: ubuntu-20.04
22+
runs-on: ubuntu-22.04
2323
strategy:
2424
matrix:
2525
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
@@ -33,7 +33,7 @@ jobs:
3333
- name: Install dependencies
3434
run: |
3535
python -m pip install --upgrade pip
36-
pip install build git+https://github.com/binyamin555/cibuildwheel
36+
pip install build cibuildwheel
3737
- name: Build package
3838
# if: github.event.inputs.build == 'true'
3939
# run: python -m build --wheel --sdist --outdir dist/
@@ -43,7 +43,7 @@ jobs:
4343
- name: Upload Artifact
4444
uses: actions/upload-artifact@v6
4545
with:
46-
name: build-linux
46+
name: build-linux-${{ matrix.python-version }}
4747
path: dist/*.whl
4848

4949
windows:
@@ -73,13 +73,13 @@ jobs:
7373
- name: Upload Artifact
7474
uses: actions/upload-artifact@v6
7575
with:
76-
name: build-win
76+
name: build-win-${{ matrix.python-version }}
7777
path: dist/*.whl
7878

7979
macos:
8080
name: Build for Mac
8181

82-
runs-on: macos-11
82+
runs-on: macos-15-intel
8383
strategy:
8484
matrix:
8585
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
@@ -99,29 +99,20 @@ jobs:
9999
- name: Upload Artifact
100100
uses: actions/upload-artifact@v6
101101
with:
102-
name: build-mac
102+
name: build-mac-${{ matrix.python-version }}
103103
path: dist/*.whl
104104

105105
upload:
106106
name: Upload Wheels
107107
needs: ["linux", "windows", "macos"]
108108
runs-on: ubuntu-latest
109109
steps:
110-
- name: Download Artifacts for Linux
111-
uses: actions/download-artifact@v3
110+
- name: Download Artifacts
111+
uses: actions/download-artifact@v5
112112
with:
113-
name: build-linux
114-
path: dist/
115-
- name: Download Artifacts for Windows
116-
uses: actions/download-artifact@v3
117-
with:
118-
name: build-win
119-
path: dist/
120-
- name: Download Artifacts for Mac
121-
uses: actions/download-artifact@v3
122-
with:
123-
name: build-mac
113+
pattern: build-*
124114
path: dist/
115+
merge-multiple: true
125116
- name: Dist Directory Tree
126117
run: ls dist/ -R
127118
- name: Publish package

.github/workflows/python-test-linux.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,17 @@
44
name: Linux Build and Test
55

66
on:
7-
push:
8-
branches: [ "main" ]
97
pull_request:
108
branches: [ "main" ]
9+
types:
10+
- opened
11+
- reopened
12+
- synchronize
13+
- ready_for_review
1114

1215
jobs:
1316
build-legacy:
14-
runs-on: ubuntu-20.04
17+
runs-on: ubuntu-22.04
1518
strategy:
1619
fail-fast: false
1720
matrix:

.github/workflows/python-test-macos.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@
44
name: MacOS Build and Test
55

66
on:
7-
push:
8-
branches: [ "main" ]
97
pull_request:
108
branches: [ "main" ]
9+
types:
10+
- opened
11+
- reopened
12+
- synchronize
13+
- ready_for_review
1114

1215
jobs:
1316
build-legacy:

.github/workflows/python-test-windows.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@
44
name: Windows Build and Test
55

66
on:
7-
push:
8-
branches: [ "main" ]
97
pull_request:
108
branches: [ "main" ]
9+
types:
10+
- opened
11+
- reopened
12+
- synchronize
13+
- ready_for_review
1114

1215
jobs:
1316
build:

0 commit comments

Comments
 (0)