From bf6feece336fc1365fea7cb052cba948935ac2c2 Mon Sep 17 00:00:00 2001 From: Arthas Date: Wed, 8 Nov 2023 14:55:33 +0800 Subject: [PATCH] ci: support update dependencies (#722) --- .github/workflows/dep.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/dep.yml diff --git a/.github/workflows/dep.yml b/.github/workflows/dep.yml new file mode 100644 index 000000000..8ec1c966a --- /dev/null +++ b/.github/workflows/dep.yml @@ -0,0 +1,29 @@ +name: Update dependencies + +on: + workflow_dispatch: + inputs: + dependencies-content: + description: The content of dependencies + required: true + type: string + +jobs: + generate-codes: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Setup + uses: ./.github/actions/setup + + - name: Update dependencies + uses: AgoraIO-Extensions/actions/.github/actions/dep@main + with: + dependencies-content: ${{ inputs.dependencies-content }} + github-token: ${{ secrets.GH_TOKEN }} + target-path: | + android/build.gradle + example/ios/Podfile + react-native-agora.podspec