|
42 | 42 |
|
43 | 43 | test: |
44 | 44 | runs-on: macos-latest |
45 | | - continue-on-error: true |
46 | 45 | steps: |
47 | 46 | - name: Checkout |
48 | 47 | uses: actions/checkout@v3 |
@@ -164,36 +163,36 @@ jobs: |
164 | 163 | - name: Build example for iOS |
165 | 164 | run: | |
166 | 165 | yarn turbo run build:ios --cache-dir="${{ env.TURBO_CACHE_DIR }}" |
167 | | -
|
168 | | - build-macos: |
169 | | - runs-on: macos-latest |
170 | | - env: |
171 | | - TURBO_CACHE_DIR: .turbo/macos |
172 | | - steps: |
173 | | - - name: Checkout |
174 | | - uses: actions/checkout@v3 |
175 | | - |
176 | | - - name: Setup |
177 | | - uses: ./.github/actions/setup |
178 | | - with: |
179 | | - github_token: ${{ secrets.GITHUB_TOKEN }} |
180 | | - |
181 | | - - name: Cache turborepo for macOS |
182 | | - uses: actions/cache@v3 |
183 | | - with: |
184 | | - path: ${{ env.TURBO_CACHE_DIR }} |
185 | | - key: ${{ runner.os }}-turborepo-macos-${{ hashFiles('yarn.lock') }} |
186 | | - restore-keys: | |
187 | | - ${{ runner.os }}-turborepo-macos- |
188 | | -
|
189 | | - - name: Check turborepo cache for macOS |
190 | | - run: | |
191 | | - TURBO_CACHE_STATUS=$(node -p "($(yarn turbo run build:macos --cache-dir="${{ env.TURBO_CACHE_DIR }}" --dry=json)).tasks.find(t => t.task === 'build:macos').cache.status") |
192 | | -
|
193 | | - if [[ $TURBO_CACHE_STATUS == "HIT" ]]; then |
194 | | - echo "turbo_cache_hit=1" >> $GITHUB_ENV |
195 | | - fi |
196 | | -
|
197 | | - - name: Build example for macOS |
198 | | - run: | |
199 | | - yarn turbo run build:macos --cache-dir="${{ env.TURBO_CACHE_DIR }}" |
| 166 | +# We disable it until RNTA support 0.81 |
| 167 | +# build-macos: |
| 168 | +# runs-on: macos-latest |
| 169 | +# env: |
| 170 | +# TURBO_CACHE_DIR: .turbo/macos |
| 171 | +# steps: |
| 172 | +# - name: Checkout |
| 173 | +# uses: actions/checkout@v3 |
| 174 | + |
| 175 | +# - name: Setup |
| 176 | +# uses: ./.github/actions/setup |
| 177 | +# with: |
| 178 | +# github_token: ${{ secrets.GITHUB_TOKEN }} |
| 179 | + |
| 180 | +# - name: Cache turborepo for macOS |
| 181 | +# uses: actions/cache@v3 |
| 182 | +# with: |
| 183 | +# path: ${{ env.TURBO_CACHE_DIR }} |
| 184 | +# key: ${{ runner.os }}-turborepo-macos-${{ hashFiles('yarn.lock') }} |
| 185 | +# restore-keys: | |
| 186 | +# ${{ runner.os }}-turborepo-macos- |
| 187 | + |
| 188 | +# - name: Check turborepo cache for macOS |
| 189 | +# run: | |
| 190 | +# TURBO_CACHE_STATUS=$(node -p "($(yarn turbo run build:macos --cache-dir="${{ env.TURBO_CACHE_DIR }}" --dry=json)).tasks.find(t => t.task === 'build:macos').cache.status") |
| 191 | + |
| 192 | +# if [[ $TURBO_CACHE_STATUS == "HIT" ]]; then |
| 193 | +# echo "turbo_cache_hit=1" >> $GITHUB_ENV |
| 194 | +# fi |
| 195 | + |
| 196 | +# - name: Build example for macOS |
| 197 | +# run: | |
| 198 | +# yarn turbo run build:macos --cache-dir="${{ env.TURBO_CACHE_DIR }}" |
0 commit comments