/
githubmirror
/
react-native
Обзор
Документация
Войти
/
githubmirror
/
react-native
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
.github/workflows/bump-podfile-lock.yml
45 строк
1 KB
Riccardo Cipolleschi
Fix post-release workflow failures (#57627)
21 июл 2026, 19:31
21 июл 2026, 19:31
60fac2e
Код
Авторство
О чём код?
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-15 steps: - name: Checkout uses: actions/checkout@v6 with: token: ${{ secrets.REACT_NATIVE_BOT_GITHUB_TOKEN }} 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 - 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 rm Podfile.lock bundle install bundle exec pod install - name: Commit changes run: | git add packages/rn-tester/Podfile.lock git commit -m "[LOCAL] Bump Podfile.lock" git push origin "$BRANCH_NAME"