Skip to content

Commit 5b3aeac

Browse files
committed
use share matrix
1 parent 2b11388 commit 5b3aeac

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/python-release.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ on:
3232
required: true
3333

3434
jobs:
35+
matrix: &matrix
36+
os: [ubuntu-22.04, windows-2022, macos-13, macos-14, macos-15]
37+
3538
validate-inputs:
3639
runs-on: ubuntu-latest
3740
steps:
@@ -92,8 +95,7 @@ jobs:
9295
- validate-inputs
9396
- validate-library-version
9497
strategy:
95-
matrix:
96-
os: [ ubuntu-22.04, windows-2022, macos-13, macos-14, macos-15 ]
98+
matrix: *matrix
9799

98100
steps:
99101
- uses: actions/checkout@v4
@@ -187,8 +189,7 @@ jobs:
187189
- validate-inputs
188190
- validate-library-version
189191
strategy:
190-
matrix:
191-
os: [ ubuntu-22.04, windows-2022, macos-13, macos-14, macos-15 ]
192+
matrix: *matrix
192193

193194
steps:
194195
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)