From e47e7ad99a1109768407dea4032606fb4c44ed3a Mon Sep 17 00:00:00 2001 From: jdx <216188+jdx@users.noreply.github.com> Date: Mon, 11 May 2026 11:31:56 -0500 Subject: [PATCH] fix(ci): preserve vendor/aqua-registry/ in PPA publish workflow cargo vendor wipes the target directory by default, deleting the git-tracked vendor/aqua-registry/ that build.rs reads at compile time. The resulting source tarball uploaded to Launchpad was missing registry.yml, causing builds to fail with "No such file or directory" at build.rs:357. Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/ppa-publish.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ppa-publish.yml b/.github/workflows/ppa-publish.yml index 486b5575c1..eee061b4b5 100644 --- a/.github/workflows/ppa-publish.yml +++ b/.github/workflows/ppa-publish.yml @@ -113,7 +113,9 @@ jobs: [source.vendored-sources] directory = "vendor" EOF - cargo vendor vendor/ + # --no-delete preserves the git-tracked vendor/aqua-registry/ directory + # (consumed by build.rs); without it, cargo vendor wipes the directory. + cargo vendor --no-delete vendor/ # Clear all vendor checksums — dpkg-source strips .o, .a, .git*, *.orig and # other files, which breaks cargo's checksum verification. With --frozen cargo