diff --git a/.github/workflows/cronet.yml b/.github/workflows/cronet.yml index afde36c6a8..c0ebba41b5 100644 --- a/.github/workflows/cronet.yml +++ b/.github/workflows/cronet.yml @@ -27,6 +27,11 @@ jobs: strategy: matrix: package: ['cronet_http', 'cronet_http_embedded'] + # api-level/minSdkVersion should be help in sync in: + # - .github/workflows/cronet.yml + # - pkgs/cronet_http/android/build.gradle + # - pkgs/cronet_http/example/android/app/build.gradle + sdkVersion: ['21', '34'] steps: - uses: actions/checkout@v4 - uses: actions/setup-java@v4 @@ -58,11 +63,7 @@ jobs: uses: reactivecircus/android-emulator-runner@v2 if: always() && steps.install.outcome == 'success' with: - # api-level/minSdkVersion should be help in sync in: - # - .github/workflows/cronet.yml - # - pkgs/cronet_http/android/build.gradle - # - pkgs/cronet_http/example/android/app/build.gradle - api-level: 21 + api-level: ${{ matrix.sdkVersion }} arch: x86_64 target: ${{ matrix.package == 'cronet_http_embedded' && 'default' || 'google_apis' }} profile: pixel