From d62a76a2424be7de33e50bd9a692f7d6d9735353 Mon Sep 17 00:00:00 2001 From: Mateusz Rajski Date: Thu, 5 Feb 2026 07:55:28 +0100 Subject: [PATCH 1/3] Save gradle profile report from AdHoc builds --- .github/workflows/testBuild.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/testBuild.yml b/.github/workflows/testBuild.yml index 148807ae21499..9364a60137195 100644 --- a/.github/workflows/testBuild.yml +++ b/.github/workflows/testBuild.yml @@ -319,7 +319,15 @@ jobs: # Specify the path (relative to the Android source directory) where the keystore should be placed. keystore-path: '../tools/buildtools/upload-key.keystore' comment-bot: false - rock-build-extra-params: '--extra-params -PreactNativeArchitectures=arm64-v8a,x86_64' + rock-build-extra-params: '--extra-params "-PreactNativeArchitectures=arm64-v8a,x86_64 --profile"' + + - name: Upload Gradle profile report + if: always() + uses: actions/upload-artifact@v4 + with: + name: gradle-profile-report + path: Mobile-Expensify/Android/app/build/reports/profile/ + if-no-files-found: ignore - name: Set artifact URL output id: set-artifact-url From f92296705c26a2965251e909b0d9ce76812859b7 Mon Sep 17 00:00:00 2001 From: Mateusz Rajski Date: Thu, 5 Feb 2026 08:18:53 +0100 Subject: [PATCH 2/3] Use commit hash instead of version --- .github/workflows/testBuild.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/testBuild.yml b/.github/workflows/testBuild.yml index 9364a60137195..a044f135c9d82 100644 --- a/.github/workflows/testBuild.yml +++ b/.github/workflows/testBuild.yml @@ -323,7 +323,7 @@ jobs: - name: Upload Gradle profile report if: always() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 with: name: gradle-profile-report path: Mobile-Expensify/Android/app/build/reports/profile/ From f10f8b874c01844f048a8e775f39ec9236b30240 Mon Sep 17 00:00:00 2001 From: Mateusz Rajski Date: Thu, 5 Feb 2026 08:59:40 +0100 Subject: [PATCH 3/3] Fix report path --- .github/workflows/testBuild.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/testBuild.yml b/.github/workflows/testBuild.yml index a044f135c9d82..47580964a0092 100644 --- a/.github/workflows/testBuild.yml +++ b/.github/workflows/testBuild.yml @@ -326,7 +326,7 @@ jobs: uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 with: name: gradle-profile-report - path: Mobile-Expensify/Android/app/build/reports/profile/ + path: Mobile-Expensify/Android/build/reports/profile/ if-no-files-found: ignore - name: Set artifact URL output