mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
6ed0279700
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/52513 We bumped the requirement for cocoapods to use Xcode 16.1 or greater. This job was not update and therefore it failed when releasing 0.81.0-rc.0. This change should fix it and it should be cherry picked in the release branch too. By default, the macos executor in github actions are using Xcode 15.2 ## Changelog [Internal] - Reviewed By: cortinico, fabriziocucci Differential Revision: D78008316 fbshipit-source-id: 4d05233ca3b936cf128400030328124c453963ea
46 lines
1.4 KiB
YAML
46 lines
1.4 KiB
YAML
name: Bump Podfile.lock
|
|
|
|
on:
|
|
workflow_call: # this directive allow us to call this workflow from other workflows
|
|
|
|
jobs:
|
|
bump-podfile-lock:
|
|
runs-on: macos-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
fetch-tags: true
|
|
- name: Install dependencies
|
|
uses: ./.github/actions/yarn-install
|
|
- name: Configure git
|
|
run: |
|
|
git config --local user.email "bot@reactnative.dev"
|
|
git config --local user.name "React Native Bot"
|
|
- name: Setup xcode
|
|
uses: ./.github/actions/setup-xcode
|
|
with:
|
|
xcode-version: '16.2.0'
|
|
- name: Extract branch name
|
|
run: |
|
|
TAG="${{ github.ref_name }}";
|
|
BRANCH_NAME=$(echo "$TAG" | sed -E 's/v([0-9]+\.[0-9]+)\.[0-9]+(-rc\.[0-9]+)?/\1-stable/')
|
|
echo "Branch Name is $BRANCH_NAME"
|
|
echo "BRANCH_NAME=$BRANCH_NAME" >> $GITHUB_ENV
|
|
- name: Checkout release branch
|
|
run: |
|
|
git checkout "$BRANCH_NAME"
|
|
git fetch
|
|
git pull origin "$BRANCH_NAME"
|
|
- name: Bump podfile.lock
|
|
run: |
|
|
cd packages/rn-tester
|
|
bundle install
|
|
bundle exec pod update hermes-engine --no-repo-update
|
|
- name: Commit changes
|
|
run: |
|
|
git add packages/rn-tester/Podfile.lock
|
|
git commit -m "[LOCAL] Bump Podfile.lock"
|
|
git push origin "$BRANCH_NAME"
|