diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c4acb48c..e05c901c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,7 +18,7 @@ jobs: turbo_cache_hit: 0 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup uses: ./.github/actions/setup @@ -87,7 +87,7 @@ jobs: turbo_cache_hit: 0 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup uses: ./.github/actions/setup diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 084766cb..e23c5b59 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: runs-on: ${{ matrix.platform }}-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup uses: ./.github/actions/setup @@ -39,7 +39,7 @@ jobs: runs-on: ${{ matrix.platform }}-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup uses: ./.github/actions/setup @@ -54,7 +54,7 @@ jobs: runs-on: ${{ matrix.platform }}-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup uses: ./.github/actions/setup @@ -73,7 +73,7 @@ jobs: turbo_cache_hit: 0 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup uses: ./.github/actions/setup @@ -154,7 +154,7 @@ jobs: turbo_cache_hit: 0 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup uses: ./.github/actions/setup diff --git a/.github/workflows/dep.yml b/.github/workflows/dep.yml index aa18404e..9715f521 100644 --- a/.github/workflows/dep.yml +++ b/.github/workflows/dep.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup uses: ./.github/actions/setup @@ -46,3 +46,29 @@ jobs: Dependencies content: ${{ steps.dep.outputs.matches }} + + update-pod: + runs-on: macos-latest + needs: update-dependencies + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + ref: ${{ github.ref_name }}-dep-update + token: ${{ secrets.GH_TOKEN }} + + - name: Setup + uses: ./.github/actions/setup + + - name: Update Podfile.lock + run: | + pod update + working-directory: example/ios + + - name: Commit changes + run: | + git config --global user.email "${{ secrets.GIT_EMAIL }}" + git config --global user.name "${{ secrets.GIT_USERNAME }}" + git add example + git commit -m "chore(example): update Podfile.lock by new dependencies" + git push diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index ff175641..ef148990 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup uses: ./.github/actions/setup diff --git a/.github/workflows/gitleaks.yml b/.github/workflows/gitleaks.yml index dc9efd47..c231ecda 100644 --- a/.github/workflows/gitleaks.yml +++ b/.github/workflows/gitleaks.yml @@ -12,7 +12,7 @@ jobs: name: gitleaks runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - uses: gitleaks/gitleaks-action@v2 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e72eccf8..16422536 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -19,7 +19,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 token: ${{ secrets.GH_TOKEN }} diff --git a/.github/workflows/terra.yml b/.github/workflows/terra.yml index c0ae6ce3..010f42a1 100644 --- a/.github/workflows/terra.yml +++ b/.github/workflows/terra.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup uses: ./.github/actions/setup diff --git a/.github/workflows/typedoc.yml b/.github/workflows/typedoc.yml index 758da62f..78f7fc19 100644 --- a/.github/workflows/typedoc.yml +++ b/.github/workflows/typedoc.yml @@ -28,7 +28,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout 🛎️ - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup uses: ./.github/actions/setup - name: Build TypeDoc @@ -49,10 +49,10 @@ jobs: asset_name: react-native-agora-docs.zip tag: ${{ github.ref_name }} - name: Upload artifact - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v2 with: # Upload docs directory path: 'docs' - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v1 + uses: actions/deploy-pages@v2 diff --git a/android/build.gradle b/android/build.gradle index 504b8605..0b214342 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -160,9 +160,9 @@ dependencies { //noinspection GradleDynamicVersion implementation "com.facebook.react:react-native:+" implementation fileTree(include: ['*.jar', '*.aar'], dir: 'libs') - api 'io.agora.rtc:agora-full-preview:4.2.6-build.1' - implementation 'io.agora.rtc:full-screen-sharing-special:4.2.6-build.1' - implementation 'io.agora.rtc:iris-rtc:4.2.6-build.1' + api 'io.agora.rtc:agora-full-preview:4.2.6-build.2' + implementation 'io.agora.rtc:full-screen-sharing-special:4.2.6-build.2' + implementation 'io.agora.rtc:iris-rtc:4.2.6-build.2' } if (isNewArchitectureEnabled()) { diff --git a/example/ios/Podfile b/example/ios/Podfile index 5f4f5e2e..bf7c9396 100644 --- a/example/ios/Podfile +++ b/example/ios/Podfile @@ -62,5 +62,5 @@ target 'AgoraRtcNgExample' do end target 'ScreenShare' do - pod 'AgoraRtcEngine_iOS_Preview', '4.2.6-build.1' + pod 'AgoraRtcEngine_iOS_Preview', '4.2.6-build.2' end diff --git a/react-native-agora.podspec b/react-native-agora.podspec index b80bea88..9c4f41c4 100644 --- a/react-native-agora.podspec +++ b/react-native-agora.podspec @@ -40,8 +40,8 @@ Pod::Spec.new do |s| end end - s.dependency 'AgoraRtcEngine_iOS_Preview', '4.2.6-build.1' - s.dependency 'AgoraIrisRTC_iOS', '4.2.6-build.1' + s.dependency 'AgoraRtcEngine_iOS_Preview', '4.2.6-build.2' + s.dependency 'AgoraIrisRTC_iOS', '4.2.6-build.2' s.libraries = 'stdc++' s.framework = 'ReplayKit' end