Skip to content

use newer image

use newer image #17

name: Connected Check
on:
push:
branches:
- '*'
pull_request:
branches:
- master
jobs:
run-connected-checks:
# put [skip ci] into the commit message if you don't want to run this workflow
runs-on: macos-13
timeout-minutes: 15
steps:
- name: Cancel previous runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: adopt
java-version: 17
- name: Set up build properties
run: |
echo 'licenceKey=""' > local.properties
echo 'android.useAndroidX=true' >> gradle.properties
echo 'android.enableJetifier=true' >> gradle.properties
- name: Run connectedCheck
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 33
target: google_apis
arch: x86_64
script: ./gradlew connectedCheck