From 66fd141dc5feb23e0d5fa9cf039131eecf37fb60 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 a81258581..b26c59f2a 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: