Skip to content

Update dependencies #12

Update dependencies

Update dependencies #12

Workflow file for this run

name: Update dependencies
on:
workflow_dispatch:
inputs:
dependencies-content:
description: The content of dependencies
required: true
type: string
jobs:
update-dependencies:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup
uses: ./.github/actions/setup
- name: Update dependencies
id: dep
uses: AgoraIO-Extensions/actions/.github/actions/dep@main
with:
dependencies-content: ${{ inputs.dependencies-content }}
target-files: |
android/build.gradle
example/ios/Podfile
react-native-agora.podspec
target-path: ${{ github.workspace }}
github-token: ${{ secrets.GH_TOKEN }}
- name: Update example
run: |
yarn pod-install example/ios
- name: Create pull request
uses: AgoraIO-Extensions/actions/.github/actions/pr@main
with:
target-repo: ${{ github.workspace }}
target-branch: ${{ github.ref_name }}
target-branch-name-surffix: |
dep-update
pull-request-title: |
[AUTO] Update dependencies
pull-request-body: |
Dependencies content:
${{ steps.dep.outputs.matches }}
github-token: ${{ secrets.GH_TOKEN }}