mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-18 13:23:33 +08:00
Keep desktop CI aligned with the build outputs we actually rely on
The local desktop build path already proved that AppImage packaging needs libfuse2 and that macOS artifacts may be directories rather than plain files. This commit aligns the GitHub workflows with those realities so remote validation matches the local release path more closely. Constraint: GitHub-hosted Linux runners do not guarantee AppImage runtime deps unless we install them explicitly Rejected: Leave release workflow unchanged and trust local macOS build only | would not validate Linux packaging path at all Rejected: Upload only DMG/installer files in dev workflow | hides the macOS .app artifact users expect for local testing Confidence: high Scope-risk: narrow Reversibility: clean Directive: Keep dev and release desktop dependency lists in sync when packaging requirements change Tested: git diff --check; YAML parse of both workflow files; manual inspection of artifact collection and Linux dependency steps Not-tested: Live GitHub Actions execution on repository runners
This commit is contained in:
parent
09ac74e131
commit
f368440421
14
.github/workflows/build-desktop-dev.yml
vendored
14
.github/workflows/build-desktop-dev.yml
vendored
@ -167,14 +167,14 @@ jobs:
|
||||
|
||||
echo "Searching for artifacts in: $SEARCH_DIR"
|
||||
if [ -d "$SEARCH_DIR" ]; then
|
||||
find "$SEARCH_DIR" -type f \( \
|
||||
-name "*.dmg" -o -name "*.app" -o \
|
||||
-name "*.exe" -o -name "*.msi" -o \
|
||||
-name "*.deb" -o -name "*.AppImage" -o \
|
||||
-name "*.zip" \
|
||||
\) | while read -r f; do
|
||||
find "$SEARCH_DIR" \
|
||||
\( -type f \( \
|
||||
-name "*.dmg" -o -name "*.exe" -o -name "*.msi" -o \
|
||||
-name "*.deb" -o -name "*.AppImage" -o -name "*.zip" \
|
||||
\) \) -o \
|
||||
\( -type d -name "*.app" \) | while read -r f; do
|
||||
echo " Copying: $(basename "$f")"
|
||||
cp "$f" "$STAGING/"
|
||||
cp -R "$f" "$STAGING/"
|
||||
done
|
||||
fi
|
||||
|
||||
|
||||
3
.github/workflows/release-desktop.yml
vendored
3
.github/workflows/release-desktop.yml
vendored
@ -80,7 +80,8 @@ jobs:
|
||||
libwebkit2gtk-4.1-dev \
|
||||
libayatana-appindicator3-dev \
|
||||
librsvg2-dev \
|
||||
patchelf
|
||||
patchelf \
|
||||
libfuse2
|
||||
|
||||
# ── Bun ──────────────────────────────────────────────────
|
||||
- name: Setup Bun
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user