Skip to content

Commit 42942b4

Browse files
committed
CI: build x86_64 only when pull_request to reduce build time
1 parent 774d3e8 commit 42942b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/python-package.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ jobs:
109109

110110
matrix:
111111
os: [ubuntu-latest, windows-latest]
112-
arch: [x86_64, aarch64]
112+
arch: ${{ startsWith(github.ref, 'refs/tags') && fromJson('["x86_64","aarch64"]') || fromJson('["x86_64"]') }}
113113
cuda-version: ${{ startsWith(github.ref, 'refs/tags') && fromJson('["11.8.0","12.1.1"]') || fromJson('["12.1.1"]') }}
114114
build_type: [Release]
115115
exclude:

0 commit comments

Comments
 (0)