Skip to content

Commit

Permalink
Conditional adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Kuczera committed Aug 3, 2024
1 parent ea78922 commit a417481
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,19 +83,16 @@ jobs:
fi
- name: Install JDK
if: env.turbo_cache_hit != 1
uses: actions/setup-java@v3
with:
distribution: "zulu"
java-version: "17"

- name: Finalize Android SDK
if: env.turbo_cache_hit != 1
run: |
/bin/bash -c "yes | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --licenses > /dev/null"
- name: Cache Gradle
if: env.turbo_cache_hit != 1
uses: actions/cache@v4
with:
path: |
Expand Down Expand Up @@ -180,11 +177,11 @@ jobs:
NO_FLIPPER: 1

- name: Build example for iOS
if: github.ref == 'refs/heads/main'
run: |
yarn turbo run build:ios --cache-dir="${{ env.TURBO_CACHE_DIR }}"
- name: Build example for iOS (debug)
if: github.ref == 'refs/heads/main'
run: |
cd example/ios
xcodebuild -workspace Example.xcworkspace -scheme ReactTestApp -configuration Debug -sdk iphonesimulator -derivedDataPath build/ios

0 comments on commit a417481

Please sign in to comment.