diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 77068c4..dd5c9eb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -73,10 +73,12 @@ jobs: env: TEST_APP_ID: ${{ secrets.MY_APP_ID }} steps: - - uses: actions/checkout@v1 - - uses: actions/setup-java@v1 + - uses: actions/checkout@v3 + - name: Install JDK + uses: actions/setup-java@v4 with: - java-version: "11" + distribution: 'zulu' + java-version: '17' - uses: subosito/flutter-action@v2 with: flutter-version: ${{ matrix.version }} @@ -247,9 +249,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions/setup-java@v1 + - name: Install JDK + uses: actions/setup-java@v4 with: - java-version: "11" + distribution: 'zulu' + java-version: '17' - uses: subosito/flutter-action@v2 with: flutter-version: ${{ matrix.version }} @@ -267,9 +271,11 @@ jobs: runs-on: windows-2019 steps: - uses: actions/checkout@v3 - - uses: actions/setup-java@v1 + - name: Install JDK + uses: actions/setup-java@v4 with: - java-version: '11' + distribution: 'zulu' + java-version: '17' - uses: subosito/flutter-action@v2 with: flutter-version: ${{ matrix.version }} diff --git a/.github/workflows/schedule-run-ci-external.yml b/.github/workflows/schedule-run-ci-external.yml index bf5f505..eef033e 100644 --- a/.github/workflows/schedule-run-ci-external.yml +++ b/.github/workflows/schedule-run-ci-external.yml @@ -22,7 +22,7 @@ jobs: id: check-contributors-result uses: actions/github-script@v6 with: - github-token: ${{ secrets.LABEL_ACTION_PAT }} + github-token: ${{ secrets.GH_TOKEN }} debug: true script: | const org = "AgoraIO-Extensions" diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle index 93e3edc..15243a4 100644 --- a/example/android/app/build.gradle +++ b/example/android/app/build.gradle @@ -46,7 +46,7 @@ android { applicationId = "io.agora.agorartm.agora_rtm_example" // You can update the following values to match your application needs. // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration. - minSdkVersion flutter.minSdkVersion + minSdkVersion 21 targetSdkVersion flutter.targetSdkVersion versionCode flutterVersionCode.toInteger() versionName flutterVersionName diff --git a/test_shard/integration_test_app/android/app/build.gradle b/test_shard/integration_test_app/android/app/build.gradle index 486f3e4..b5d21dc 100644 --- a/test_shard/integration_test_app/android/app/build.gradle +++ b/test_shard/integration_test_app/android/app/build.gradle @@ -46,7 +46,7 @@ android { applicationId "io.agora.integration_test_app.integration_test_app" // You can update the following values to match your application needs. // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration. - minSdkVersion flutter.minSdkVersion + minSdkVersion 21 targetSdkVersion flutter.targetSdkVersion versionCode flutterVersionCode.toInteger() versionName flutterVersionName