Skip to content

Commit

Permalink
👷 Matrix in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexV525 committed Jan 3, 2024
1 parent b68564a commit fe2c474
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/cronet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit fe2c474

Please sign in to comment.