Skip to content

Commit 0c02136

Browse files
fix(ci): isolate CI scripts checkout to its own path
Validation build 33673400198 failed: checking out CI scripts to the workspace root ran actions/checkout's default clean step against the whole workspace, deleting kernel-src (untracked from this checkout's ref), which then broke the actual kernel build downstream. The version suffix step itself failed soft exactly as designed and did not cause this on its own; the missing kernel-src directory did. Give this checkout its own path, matching kernel-src and docker-pkg-build, both of which already isolate themselves the same way. Update the script invocation path to match. Signed-off-by: Bjordis Collaku <bcollaku@qti.qualcomm.com>
1 parent 7ee202d commit 0c02136

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/build-kernel.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,13 +304,18 @@ jobs:
304304
# TEMPORARY, for pre-merge validation of PR #108 only. Will revert
305305
# to "main" before this PR is marked ready for review.
306306
ref: feat/qcom-devel-local-version-suffix
307+
# A dedicated path, matching kernel-src and docker-pkg-build below.
308+
# Checking out to the workspace root instead would run this
309+
# checkout's default clean step against the whole workspace,
310+
# deleting kernel-src (untracked from this ref's perspective).
311+
path: ci-scripts
307312

308313
- name: Apply Qualcomm local version suffix
309314
env:
310315
KERNEL_VERSION: ${{ inputs.kernel_version }}
311316
GH_TOKEN: ${{ github.token }}
312317
run: |
313-
bash ./scripts/apply-local-version-suffix.sh || \
318+
bash ./ci-scripts/scripts/apply-local-version-suffix.sh || \
314319
echo "::warning::Local version suffix step failed; proceeding without it."
315320
316321
# -----------------------------------------------------------------------

0 commit comments

Comments
 (0)