Skip to content

Commit 8256598

Browse files
committed
try use ccache
1 parent 8a0ac38 commit 8256598

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.ado/scripts/xcodebuild.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ build_cmd=$(
2323
2424
)
2525

26-
if [[ "$CCACHE_DISABLE" != "1" ]]; then
26+
if [[ "$USE_CCACHE" == "1" ]]; then
2727
if ! command -v ccache 1> /dev/null; then
2828
brew install ccache
2929
fi
@@ -45,6 +45,6 @@ fi
4545

4646
eval "$build_cmd" | xcbeautify --report junit
4747

48-
if [[ "$CCACHE_DISABLE" != "1" ]]; then
48+
if [[ "$USE_CCACHE" == "1" ]]; then
4949
ccache --show-stats --verbose
5050
fi

.github/workflows/microsoft-build-rntester.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
6767
- name: Build ${{ matrix.scheme }}
6868
env:
69-
CCACHE_DISABLE: 1
69+
USE_CCACHE: 1
7070
run: |
7171
set -eox pipefail
7272
.ado/scripts/xcodebuild.sh packages/rn-tester/RNTesterPods.xcworkspace ${{ matrix.sdk }} Debug ${{ matrix.scheme }} build

0 commit comments

Comments
 (0)