From 85f72bf175015f2238f7bbf43a61c69469061468 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 27ab83138..c5958e955 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -103,7 +103,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: