From b122b5c63be5f0f5830be08520b70179204b6453 Mon Sep 17 00:00:00 2001 From: Mark Schofield <34426337+MarkSchofield@users.noreply.github.com> Date: Sat, 24 Jan 2026 20:22:47 -0800 Subject: [PATCH] Use 'winget' to install cuda --- .github/workflows/ci.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f55f6f1..5c3fcc3 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -57,7 +57,8 @@ jobs: if: ${{ matrix.cuda }} shell: pwsh run: | - choco install cuda + winget install Nvidia.CUDA --silent --accept-source-agreements --accept-package-agreements | + Select-String -NotMatch '^ [\\\-/|] $' # The installation sets the CUDA_PATH environment variable - use 'Update-SessionEnvironment' to pull it into # the current process' environment block, then add it to the '$env:GITHUB_ENV' file for subsequent steps.