Skip to content

Commit b044495

Browse files
committed
fix: properly cache outputs of CLI build
1 parent 2ccdc5a commit b044495

2 files changed

Lines changed: 13 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,14 +196,14 @@ jobs:
196196
- name: Prepare iOS environment
197197
uses: ./.github/actions/prepare-ios
198198

199+
- name: Install ccache
200+
run: brew install ccache
201+
199202
- name: Log ccache stats
200203
uses: ./.github/actions/ccache-summary
201204
with:
202205
name: RNApp & AppleApp
203206

204-
- name: Install ccache
205-
run: brew install ccache
206-
207207
- name: Enable ccache
208208
run: echo "$(brew --prefix)/opt/ccache/libexec" >> $GITHUB_PATH
209209

packages/cli/turbo.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"$schema": "https://turbo.build/schema.json",
3+
"extends": ["//"],
4+
"tasks": {
5+
"build": {
6+
"inputs": ["src/**/*"],
7+
"outputs": ["dist/**"]
8+
}
9+
}
10+
}

0 commit comments

Comments
 (0)