Skip to content

Commit f439dbe

Browse files
committed
ci: load fetch_ctk for cuda_gdb from the workflow commit
Nightly runs check out an older inputs.sha, so ./ can resolve to a fetch_ctk that predates install-mode. That copy would ignore install-mode: add and empty the mini CTK. Use $/ so the action comes from the workflow's commit. Signed-off-by: Ralf Juengling <[email protected]>
1 parent 30cb707 commit f439dbe

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

‎.github/workflows/test-wheel-linux.yml‎

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -367,12 +367,10 @@ jobs:
367367
cuda-version: ${{ matrix.CUDA_VER }}
368368

369369
- name: Set up cuda_gdb
370-
# cuda-gdb is Linux-only and not in the default mini CTK. Install it on
371-
# top of the mini CTK only for local-CTK jobs that run the cuda.core
372-
# test that needs it, instead of adding it to the default component
373-
# list (which would make every Linux job download ~100 MB it won't use).
370+
# $/ loads the action from the workflow's commit: the inputs.sha
371+
# checkout can predate install-mode, and ./ would then wipe the mini CTK.
374372
if: ${{ matrix.LOCAL_CTK == '1' && env.TEST_CORE == 'true' }}
375-
uses: ./.github/actions/fetch_ctk
373+
uses: $/.github/actions/fetch_ctk
376374
continue-on-error: false
377375
with:
378376
host-platform: ${{ inputs.host-platform }}

0 commit comments

Comments
 (0)