From 42942b418be15a010ec77e1a8d45473f822e0e9c Mon Sep 17 00:00:00 2001 From: Won-Kyu Park Date: Thu, 8 Feb 2024 11:56:58 +0900 Subject: [PATCH] CI: build x86_64 only when pull_request to reduce build time --- .github/workflows/python-package.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 75c9b913d..4882c6206 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -109,7 +109,7 @@ jobs: matrix: os: [ubuntu-latest, windows-latest] - arch: [x86_64, aarch64] + arch: ${{ startsWith(github.ref, 'refs/tags') && fromJson('["x86_64","aarch64"]') || fromJson('["x86_64"]') }} cuda-version: ${{ startsWith(github.ref, 'refs/tags') && fromJson('["11.8.0","12.1.1"]') || fromJson('["12.1.1"]') }} build_type: [Release] exclude: