Skip to content

Commit 647ff82

Browse files
committed
Fix fetch_ctk helper path in container jobs.
The Linux local test lanes resolve the repo through the runtime workspace mount rather than the host-side checkout path, so the helper script must be launched from GITHUB_WORKSPACE. This lets those lanes reach the intended cuDLA regression failures instead of aborting in mini-CTK setup.
1 parent 87d76a6 commit 647ff82

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎.github/actions/fetch_ctk/action.yml‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ runs:
2727
shell: bash --noprofile --norc -xeuo pipefail {0}
2828
run: |
2929
# Pre-process the component list to ensure hash uniqueness
30-
CTK_REDIST_TOOL="${{ github.workspace }}/ci/tools/fetch_ctk_redistrib.py"
30+
# Use the runtime workspace mount so this also works inside container jobs.
31+
CTK_REDIST_TOOL="${GITHUB_WORKSPACE}/ci/tools/fetch_ctk_redistrib.py"
3132
CTK_CACHE_COMPONENTS=${{ inputs.cuda-components }}
3233
CTK_JSON_URL="https://developer.download.nvidia.com/compute/cuda/redist/redistrib_${{ inputs.cuda-version }}.json"
3334
CTK_CACHE_COMPONENTS="$(python "$CTK_REDIST_TOOL" filter-components \
@@ -68,7 +69,8 @@ runs:
6869
mkdir $CACHE_TMP_DIR
6970
7071
# The binary archives (redist) are guaranteed to be updated as part of the release posting.
71-
CTK_REDIST_TOOL="${{ github.workspace }}/ci/tools/fetch_ctk_redistrib.py"
72+
# Use the runtime workspace mount so this also works inside container jobs.
73+
CTK_REDIST_TOOL="${GITHUB_WORKSPACE}/ci/tools/fetch_ctk_redistrib.py"
7274
CTK_BASE_URL="https://developer.download.nvidia.com/compute/cuda/redist/"
7375
CTK_JSON_URL="$CTK_BASE_URL/redistrib_${{ inputs.cuda-version }}.json"
7476
CTK_JSON_FILE="$CACHE_TMP_DIR/redistrib.json"

0 commit comments

Comments
 (0)