Multi-Agent Collaboration for Team and Friends
TypeScript agent-automationagent-orchestrationagent-workflowai-agentsai-collaborationai-memoryai-workforceautonomous-agentsclaude-codeclaude-code-skillscodexcoding-agentmulti-agentmultiple-agentone-person-businessone-person-companyone-person-teamopencodesolopreneur
fix: harden mobile release CI
Generfa932cea2661
diff --git a/.github/workflows/mobile-release.yml b/.github/workflows/mobile-release.ymlindex 43ddeb0bc..0eec1e0c7 100644--- a/.github/workflows/mobile-release.yml+++ b/.github/workflows/mobile-release.yml@@ -12,6 +12,11 @@ on:required: truedefault: falsetype: boolean+ android:+ description: Build and attach the signed Android APK+ required: true+ default: false+ type: booleanconcurrency:group: mobile-release-${{ github.ref }}@@ -212,7 +217,7 @@ jobs:build-android:name: Build signed Android APK- if: github.event_name == 'push'+ if: github.event_name == 'push' || inputs.android == trueruns-on: ubuntu-latesttimeout-minutes: 45permissions:@@ -243,11 +248,14 @@ jobs:set -euo pipefailsdkmanager="$ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager"test -x "$sdkmanager"+ yes | "$sdkmanager" --licenses >/dev/null || [[ ${PIPESTATUS[1]} -eq 0 ]]"$sdkmanager" \"platforms;android-36" \"build-tools;36.0.0" \"ndk;29.0.13846066"- echo "NDK_HOME=$ANDROID_HOME/ndk/29.0.13846066" >> "$GITHUB_ENV"+ ndk_home="$ANDROID_HOME/ndk/29.0.13846066"+ test -x "$ndk_home/ndk-build"+ echo "NDK_HOME=$ndk_home" >> "$GITHUB_ENV"- name: Install Rust stableuses: dtolnay/rust-toolchain@4360b52568e2003a75bf9bc1d59f33a8e3fc893c # stablediff --git a/scripts/ci/native-oauth-mobile.test.ts b/scripts/ci/native-oauth-mobile.test.tsindex 4202ceda3..911e257b2 100644--- a/scripts/ci/native-oauth-mobile.test.ts+++ b/scripts/ci/native-oauth-mobile.test.ts@@ -150,6 +150,8 @@ describe("native OAuth mobile activation", () => {})expect(iosProject).toContain("PRODUCT_BUNDLE_IDENTIFIER: ai.alook.ios")expect(iosProject).toContain("DEVELOPMENT_TEAM: 5RF24VHDQB")+ expect(iosProject).toContain("CFBundleURLTypes:")+ expect(iosProject).toContain("CFBundleURLSchemes: [ai.alook]")expect(iosEntitlements).toContain("<string>applinks:auth.alook.ai</string>")expect(mobileRelease).toContain('info["CFBundleURLTypes"] ==')expect(mobileRelease).toContain("ai.alook")diff --git a/scripts/ci/workflow-contract.test.ts b/scripts/ci/workflow-contract.test.tsindex 3e38c7d74..230504352 100644--- a/scripts/ci/workflow-contract.test.ts+++ b/scripts/ci/workflow-contract.test.ts@@ -1194,7 +1194,13 @@ describe("Mobile release availability", () => {expect(androidGradle).toContain('signingConfig = signingConfigs.getByName("release")')expect(androidMainActivity).toContain("package ai.alook.android")expect(mobileReleaseWorkflow).toContain("build-android:")- expect(mobileReleaseWorkflow).toContain("if: github.event_name == 'push'")+ expect(mobileReleaseWorkflow).toContain(+ "if: github.event_name == 'push' || inputs.android == true",+ )+ expect(mobileReleaseWorkflow).toContain(+ 'yes | "$sdkmanager" --licenses >/dev/null || [[ ${PIPESTATUS[1]} -eq 0 ]]',+ )+ expect(mobileReleaseWorkflow).toContain('test -x "$ndk_home/ndk-build"')expect(mobileReleaseWorkflow).toContain("ANDROID_KEYSTORE:")expect(mobileReleaseWorkflow).toContain("ANDROID_KEYSTORE_PASSWORD:")expect(mobileReleaseWorkflow).toContain("ANDROID_KEY_ALIAS:")diff --git a/src/desktop/src-tauri/gen/apple/project.yml b/src/desktop/src-tauri/gen/apple/project.ymlindex 89f44a8c0..5ff46e80c 100644--- a/src/desktop/src-tauri/gen/apple/project.yml+++ b/src/desktop/src-tauri/gen/apple/project.yml@@ -53,6 +53,9 @@ targets:- UIInterfaceOrientationLandscapeRightCFBundleShortVersionString: 0.1.34CFBundleVersion: "1"+ CFBundleURLTypes:+ - CFBundleURLName: ai.alook+ CFBundleURLSchemes: [ai.alook]entitlements:path: alook-desktop_iOS/alook-desktop_iOS.entitlementsscheme: