From 77f38ef7a54a2ee127b8d4387acb30ff63f96aa8 Mon Sep 17 00:00:00 2001 From: Won-Kyu Park Date: Wed, 7 Feb 2024 23:15:49 +0900 Subject: [PATCH] CI: reduce cuda versions for pull_request --- .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 a2e34a980..27ab83138 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -104,7 +104,7 @@ jobs: matrix: os: [ubuntu-latest, windows-latest] arch: [x86_64, aarch64] - cuda-version: ['11.8.0', '12.1.1'] + cuda-version: ${{ startsWith(github.ref, 'refs/tags') && fromJson('["11.8.0","12.1.1"]') || fromJson('["12.1.1"]') }} build_type: [Release] exclude: - os: windows-latest # This probably requires arm64 Windows agents