Skip to content

Commit 8a5c804

Browse files
committed
CI: reduce cuda versions for pull_request
1 parent 788c200 commit 8a5c804

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
@@ -116,7 +116,7 @@ jobs:
116116
matrix:
117117
os: [ubuntu-latest, windows-latest]
118118
arch: [x86_64, aarch64]
119-
cuda-version: ['11.8.0', '12.1.1']
119+
cuda-version: ${{ startsWith(github.ref, 'refs/tags') && fromJson('["11.8.0","12.1.1"]') || fromJson('["12.1.1"]') }}
120120
build_type: [Release]
121121
exclude:
122122
- os: windows-latest # This probably requires arm64 Windows agents

0 commit comments

Comments
 (0)