From dfbaf3f176a4564095067fdccd451f1ff2df0769 Mon Sep 17 00:00:00 2001 From: samirpatil2000 Date: Tue, 7 Apr 2026 22:13:28 +0530 Subject: [PATCH] ci: update build workflow configuration --- .github/workflows/build.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b165b5d..f42a92d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -133,7 +133,15 @@ jobs: - name: Find .app bundle id: find_app run: | - APP_BUNDLE=$(find release/${{ steps.version.outputs.version }} -maxdepth 2 -name "*.app" -type d | head -n1) + VERSION="${{ steps.version.outputs.version }}" + echo "=== Release directory contents ===" + ls -laR "release/${VERSION}/" || echo "release/${VERSION}/ not found" + echo "=== Searching for .app bundle ===" + APP_BUNDLE=$(find "release/${VERSION}" -maxdepth 4 -name "*.app" -type d | head -n1) + if [ -z "$APP_BUNDLE" ]; then + echo "::error::No .app bundle found in release/${VERSION}/" + exit 1 + fi echo "app_bundle=$APP_BUNDLE" >> $GITHUB_OUTPUT echo "Found: $APP_BUNDLE"