Skip to content

Commit 64220db

Browse files
committed
spell out explicit combinations
1 parent a765f92 commit 64220db

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

.github/workflows/build-python-package.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,14 @@ jobs:
1212
runs-on: ${{ matrix.os }}
1313
strategy:
1414
fail-fast: true
15-
matrix:
16-
os: [ubuntu-latest, macos-latest]
17-
# Define macos_arch only if os is macos-latest; otherwise empty string
18-
macos_arch: [""]
19-
include:
20-
- os: macos-latest
21-
macos_arch: x86_64
22-
- os: macos-latest
23-
macos_arch: arm64
24-
15+
matrix:
16+
include:
17+
- os: ubuntu-latest
18+
macos_arch: ""
19+
- os: macos-latest
20+
macos_arch: x86_64
21+
- os: macos-latest
22+
macos_arch: arm64
2523
steps:
2624
- uses: actions/checkout@v4
2725

0 commit comments

Comments
 (0)