From 9e49b375886cbeea37af94bfc97b1620a5fde853 Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Mon, 16 Feb 2026 04:49:33 -0800 Subject: [PATCH] Set LC_ALL: C.UTF8 to further jobs to unblock nightly (#55564) Summary: This reapplies the same changes from https://github.com/facebook/react-native/issues/55453 to further jobs that were missing it. This should unblock nightlies that are currently failing. ## Changelog: [INTERNAL] - Pull Request resolved: https://github.com/facebook/react-native/pull/55564 Test Plan: CI Reviewed By: cipolleschi Differential Revision: D93408173 Pulled By: cortinico fbshipit-source-id: 11823daeb8ef95fb5b9b8942f23f33353b6d6b6b --- .github/workflows/nightly.yml | 6 ++++++ .github/workflows/publish-release.yml | 3 +++ .github/workflows/test-all.yml | 3 +++ 3 files changed, 12 insertions(+) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 420439705e1..fb6060f67d4 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -42,6 +42,9 @@ jobs: image: reactnativecommunity/react-native-android:latest env: TERM: "dumb" + # Set the encoding to resolve a known character encoding issue with decompressing tar.gz files in containers + # via Gradle: https://github.com/gradle/gradle/issues/23391#issuecomment-1878979127 + LC_ALL: C.UTF8 GRADLE_OPTS: "-Dorg.gradle.daemon=false" ORG_GRADLE_PROJECT_SIGNING_PWD: ${{ secrets.ORG_GRADLE_PROJECT_SIGNING_PWD }} ORG_GRADLE_PROJECT_SIGNING_KEY: ${{ secrets.ORG_GRADLE_PROJECT_SIGNING_KEY }} @@ -70,6 +73,9 @@ jobs: env: TERM: "dumb" GRADLE_OPTS: "-Dorg.gradle.daemon=false" + # Set the encoding to resolve a known character encoding issue with decompressing tar.gz files in containers + # via Gradle: https://github.com/gradle/gradle/issues/23391#issuecomment-1878979127 + LC_ALL: C.UTF8 # By default we only build ARM64 to save time/resources. For release/nightlies, we override this value to build all archs. ORG_GRADLE_PROJECT_reactNativeArchitectures: "arm64-v8a" env: diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 99e3b94fc9b..48ec61bd6b9 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -63,6 +63,9 @@ jobs: image: reactnativecommunity/react-native-android:latest env: TERM: "dumb" + # Set the encoding to resolve a known character encoding issue with decompressing tar.gz files in containers + # via Gradle: https://github.com/gradle/gradle/issues/23391#issuecomment-1878979127 + LC_ALL: C.UTF8 GRADLE_OPTS: "-Dorg.gradle.daemon=false" # By default we only build ARM64 to save time/resources. For release/nightlies, we override this value to build all archs. ORG_GRADLE_PROJECT_reactNativeArchitectures: "arm64-v8a" diff --git a/.github/workflows/test-all.yml b/.github/workflows/test-all.yml index 2d7e732a773..f3fbc5f4225 100644 --- a/.github/workflows/test-all.yml +++ b/.github/workflows/test-all.yml @@ -429,6 +429,9 @@ jobs: image: reactnativecommunity/react-native-android:latest env: TERM: "dumb" + # Set the encoding to resolve a known character encoding issue with decompressing tar.gz files in containers + # via Gradle: https://github.com/gradle/gradle/issues/23391#issuecomment-1878979127 + LC_ALL: C.UTF8 GRADLE_OPTS: "-Dorg.gradle.daemon=false" steps: - name: Checkout