diff --git a/.github/workflows/X-x86_64_X.yml b/.github/workflows/X-x86_64_X.yml index 2f9d91f..6fafed8 100644 --- a/.github/workflows/X-x86_64_X.yml +++ b/.github/workflows/X-x86_64_X.yml @@ -159,7 +159,7 @@ jobs: - name: Clone Openwrt Source Code run: | - git clone -b $REPO_BRANCH $REPO_URL openwrt + git clone -b $REPO_BRANCH $REPO_URL /workdir/openwrt ln -sf /workdir/openwrt $GITHUB_WORKSPACE/openwrt - name: Accelerate diff --git a/.github/workflows/X-x86_64_Y.yml b/.github/workflows/X-x86_64_Y.yml index c1a4f84..4026506 100644 --- a/.github/workflows/X-x86_64_Y.yml +++ b/.github/workflows/X-x86_64_Y.yml @@ -156,7 +156,7 @@ jobs: - name: Clone Openwrt Source Code run: | - git clone -b $REPO_BRANCH $REPO_URL openwrt + git clone -b $REPO_BRANCH $REPO_URL /workdir/openwrt ln -sf /workdir/openwrt $GITHUB_WORKSPACE/openwrt - name: Accelerate diff --git a/.github/workflows/X-x86_64_Z.yml b/.github/workflows/X-x86_64_Z.yml index 114920e..530f9c2 100644 --- a/.github/workflows/X-x86_64_Z.yml +++ b/.github/workflows/X-x86_64_Z.yml @@ -155,7 +155,7 @@ jobs: - name: Clone Openwrt Source Code run: | - git clone -b $REPO_BRANCH $REPO_URL openwrt + git clone -b $REPO_BRANCH $REPO_URL /workdir/openwrt ln -sf /workdir/openwrt $GITHUB_WORKSPACE/openwrt - name: Accelerate diff --git a/AI_CHANGELOG_OPENWRT_CLONE_WORKDIR.md b/AI_CHANGELOG_OPENWRT_CLONE_WORKDIR.md new file mode 100644 index 0000000..e7233c6 --- /dev/null +++ b/AI_CHANGELOG_OPENWRT_CLONE_WORKDIR.md @@ -0,0 +1,12 @@ +# AI Modification Log: OpenWrt Clone Workdir + +Date: 2026-06-29 + +## Change + +- Updated X/Y/Z workflows to clone OpenWrt source into `/workdir/openwrt`. +- Kept `$GITHUB_WORKSPACE/openwrt` as a symlink to `/workdir/openwrt` for existing later steps. + +## Reason + +The workflows created `/workdir` but cloned into the workspace. The symlink then pointed at `/workdir/openwrt`, which did not contain the clone. Cloning directly into `/workdir/openwrt` makes the workspace symlink and subsequent `openwrt` paths consistent.