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
This commit is contained in:
Rubén Norte authored and meta-codesync[bot] committed 2026-10-26 07:48:05 -07:00
1 parent 859d9b80db
commit 71548a352d
1 file changed
+8
@@ -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