46
46
uses : ./.github/actions/setup
47
47
48
48
- name : Build package
49
- run : yarn prepack
49
+ run : yarn prepare
50
50
51
51
build-android :
52
52
runs-on : ubuntu-latest
@@ -63,13 +63,13 @@ jobs:
63
63
uses : actions/cache@v3
64
64
with :
65
65
path : ${{ env.TURBO_CACHE_DIR }}
66
- key : ${{ runner.os }}-turborepo-android-${{ hashFiles('**/ yarn.lock') }}
66
+ key : ${{ runner.os }}-turborepo-android-${{ hashFiles('yarn.lock') }}
67
67
restore-keys : |
68
68
${{ runner.os }}-turborepo-android-
69
69
70
70
- name : Check turborepo cache for Android
71
71
run : |
72
- TURBO_CACHE_STATUS=$(node -p "($(yarn --silent turbo run build:android --cache-dir="${{ env.TURBO_CACHE_DIR }}" --dry=json)).tasks.find(t => t.task === 'build:android').cache.status")
72
+ TURBO_CACHE_STATUS=$(node -p "($(yarn turbo run build:android --cache-dir="${{ env.TURBO_CACHE_DIR }}" --dry=json)).tasks.find(t => t.task === 'build:android').cache.status")
73
73
74
74
if [[ $TURBO_CACHE_STATUS == "HIT" ]]; then
75
75
echo "turbo_cache_hit=1" >> $GITHUB_ENV
@@ -117,13 +117,13 @@ jobs:
117
117
uses : actions/cache@v3
118
118
with :
119
119
path : ${{ env.TURBO_CACHE_DIR }}
120
- key : ${{ runner.os }}-turborepo-ios-${{ hashFiles('**/ yarn.lock') }}
120
+ key : ${{ runner.os }}-turborepo-ios-${{ hashFiles('yarn.lock') }}
121
121
restore-keys : |
122
122
${{ runner.os }}-turborepo-ios-
123
123
124
124
- name : Check turborepo cache for iOS
125
125
run : |
126
- TURBO_CACHE_STATUS=$(node -p "($(yarn --silent turbo run build:ios --cache-dir="${{ env.TURBO_CACHE_DIR }}" --dry=json)).tasks.find(t => t.task === 'build:ios').cache.status")
126
+ TURBO_CACHE_STATUS=$(node -p "($(yarn turbo run build:ios --cache-dir="${{ env.TURBO_CACHE_DIR }}" --dry=json)).tasks.find(t => t.task === 'build:ios').cache.status")
127
127
128
128
if [[ $TURBO_CACHE_STATUS == "HIT" ]]; then
129
129
echo "turbo_cache_hit=1" >> $GITHUB_ENV
@@ -143,7 +143,7 @@ jobs:
143
143
- name : Install cocoapods
144
144
if : env.turbo_cache_hit != 1 && steps.cocoapods-cache.outputs.cache-hit != 'true'
145
145
run : |
146
- yarn example pods
146
+ yarn pod-install example/ios
147
147
env :
148
148
NO_FLIPPER : 1
149
149
0 commit comments