From 6bdab2074b8fbf156bd8edcbe0c18c3762f3d7ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Norte?= Date: Mon, 26 Oct 2026 07:24:51 -0700 Subject: [PATCH] Upload Fantom build logs in CI Summary: 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. Differential Revision: D127581211 --- .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 5a10c9e06957..506f1453eb4b 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