Skip to content

Update dependencies #15

Update dependencies

Update dependencies #15

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:
github-token: ${{ secrets.GH_TOKEN }}
dependencies-content: ${{ inputs.dependencies-content }}
target-files: |
android/build.gradle
example/ios/Podfile
react-native-agora.podspec
- name: Update example
run: |
yarn pod-install example/ios
- name: Create pull request
uses: AgoraIO-Extensions/actions/.github/actions/pr@main
with:
github-token: ${{ secrets.GH_TOKEN }}
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 }}