diff --git a/.github/workflows/android_ci.yml b/.github/workflows/android_ci.yml --- a/.github/workflows/android_ci.yml +++ b/.github/workflows/android_ci.yml @@ -48,6 +48,10 @@ - name: Fix node-gyp run: python -m pip install packaging setuptools + + - name: Install CMake + run: | + yes | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager "cmake;3.18.1" - name: yarn ci-cleaninstall run: yarn ci-cleaninstall @@ -71,4 +75,4 @@ working-directory: ./native/android env: ANDROID_SIGNING_PASSWORD: ${{secrets.ANDROID_SIGNING_PASSWORD}} - run: JAVA_HOME=${JAVA_HOME_11_arm64} ./gradlew bundleRelease + run: JAVA_HOME=${JAVA_HOME_17_arm64} ./gradlew bundleRelease diff --git a/.github/workflows/android_release.yml b/.github/workflows/android_release.yml --- a/.github/workflows/android_release.yml +++ b/.github/workflows/android_release.yml @@ -41,6 +41,10 @@ - name: Fix node-gyp run: python -m pip install packaging setuptools + + - name: Install CMake + run: | + yes | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager "cmake;3.18.1" - name: yarn ci-cleaninstall run: yarn ci-cleaninstall @@ -76,7 +80,7 @@ working-directory: ./native/android env: ANDROID_SIGNING_PASSWORD: ${{secrets.ANDROID_SIGNING_PASSWORD}} - run: JAVA_HOME=${JAVA_HOME_11_arm64} ./gradlew bundleRelease + run: JAVA_HOME=${JAVA_HOME_17_arm64} ./gradlew bundleRelease - name: Save PLAY_STORE_PUBLISHING_KEY to file working-directory: ./native/android diff --git a/.github/workflows/ios_ci.yml b/.github/workflows/ios_ci.yml --- a/.github/workflows/ios_ci.yml +++ b/.github/workflows/ios_ci.yml @@ -35,13 +35,12 @@ - name: Delete iOS simulator caches run: sudo rm -rf ~/Library/Developer/CoreSimulator/Caches/* - - - name: Patch in working Xcode + iOS version + + - name: Download iOS Platform run: | # https://github.com/actions/runner-images/issues/12758 - sudo xcode-select --switch /Applications/Xcode_16.2.app sudo xcodebuild -downloadPlatform iOS - + - name: Install Developer certificate env: BUILD_CERTIFICATE_BASE64: ${{ secrets.BUILD_CERTIFICATE_BASE64 }} diff --git a/.github/workflows/ios_release.yml b/.github/workflows/ios_release.yml --- a/.github/workflows/ios_release.yml +++ b/.github/workflows/ios_release.yml @@ -28,11 +28,10 @@ - name: Delete iOS simulator caches run: sudo rm -rf ~/Library/Developer/CoreSimulator/Caches/* - - - name: Patch in working Xcode + iOS version + + - name: Download iOS Platform run: | # https://github.com/actions/runner-images/issues/12758 - sudo xcode-select --switch /Applications/Xcode_16.2.app sudo xcodebuild -downloadPlatform iOS - name: Install Developer certificate diff --git a/postinstall.sh b/postinstall.sh --- a/postinstall.sh +++ b/postinstall.sh @@ -14,5 +14,5 @@ yarn workspace native jetify if [[ "$OSTYPE" == "darwin"* ]]; then - (cd native/ios && PATH=/usr/bin:/bin:"$PATH" bundle install && PATH=/usr/bin:/bin:"$PATH" MACOSX_DEPLOYMENT_TARGET='' bundle exec pod install --repo-update) + (cd native/ios && bundle install && MACOSX_DEPLOYMENT_TARGET='' bundle exec pod install --repo-update) fi