From 71548a352d051bbdbf11d0a3c5945aedbd960493 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Norte?= Date: Mon, 26 Oct 2026 07:48:05 -0700 Subject: [PATCH] Upload Fantom build logs in CI (#59497) Summary: Pull Request resolved: https://github.com/react/react-native/pull/59497 Keep native Fantom diagnostics available when compilation fails, since Gradle redirects CMake output into report files. Changelog: [Internal] Retain Fantom native build logs as CI artifacts. Reviewed By: cortinico Differential Revision: D127581211 fbshipit-source-id: d6ca3737c76ebc18a1bfe4a05129b6bac418bc38 --- .github/actions/build-fantom-runner/action.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/actions/build-fantom-runner/action.yml b/.github/actions/build-fantom-runner/action.yml index 5a10c9e0695..506f1453eb4 100644 --- a/.github/actions/build-fantom-runner/action.yml +++ b/.github/actions/build-fantom-runner/action.yml @@ -54,6 +54,14 @@ runs: env: CC: clang CXX: clang++ + - name: Upload Fantom build logs + if: ${{ always() }} + uses: ./.github/actions/upload-artifact + with: + name: build-fantom-results + compression-level: 1 + if-no-files-found: ignore + path: private/react-native-fantom/build/reports - name: Save Fantom ccache if: ${{ github.ref == 'refs/heads/main' || contains(github.ref, '-stable') }} uses: actions/cache/save@v5