From ea96357806e839d4f82aea9bf8cb6f31eabc1ed4 Mon Sep 17 00:00:00 2001 From: Mike Solar Date: Thu, 24 Sep 2026 17:13:26 +0800 Subject: [PATCH] ci(cd): fix the Fedora deps continuation and unshallow the AppImage vcpkg clone The Fedora dnf list had a trailing space after a line-continuation backslash, which became a blank argument dnf rejects with "No match for argument:". The AppImage job cloned vcpkg with --depth 1, but the manifest pins a builtin-baseline and port trees a shallow clone cannot check out ("failed to unpack tree object"); use a full clone like the other packaging jobs. --- .github/workflows/cd.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 848de7b66..9ce850f72 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -119,7 +119,7 @@ jobs: alsa-lib-devel pulseaudio-libs-devel libsndfile-devel \ mesa-libGL-devel mesa-vulkan-drivers \ vulkan-headers vulkan-loader-devel \ - libxkbcommon-devel libxkbcommon-x11-devel \ + libxkbcommon-devel libxkbcommon-x11-devel \ rpm-build librsvg2-tools libdrm-devel autoconf autoconf-archive automake libtool ;; arch) @@ -270,7 +270,11 @@ jobs: # ------------------------------------------------------------------ - name: Bootstrap vcpkg run: | - git clone --depth 1 https://github.com/microsoft/vcpkg.git .cache/vcpkg + # Full clone (no --depth): the manifest pins a builtin-baseline + # and port trees, and a shallow vcpkg cannot check them out + # ("failed to unpack tree object ... Try again with a full + # vcpkg clone"). + git clone https://github.com/microsoft/vcpkg.git .cache/vcpkg .cache/vcpkg/bootstrap-vcpkg.sh -disableMetrics echo "$PWD/.cache/vcpkg" >> "$GITHUB_PATH" echo "VCPKG_ROOT=$PWD/.cache/vcpkg" >> "$GITHUB_ENV"