diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index a92d09e6..8bca82af 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -1,5 +1,5 @@ name: Android Build -on: +on: push: paths-ignore: - 'ios/**' @@ -20,10 +20,15 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Use Node.js 12.x + - name: Use Node.js 16.x uses: actions/setup-node@v1 with: - node-version: '12.x' + node-version: '16.x' + + - uses: actions/setup-java@v3 + with: + distribution: 'adopt' + java-version: '11' - name: Cache Node.js modules id: node-cache @@ -55,9 +60,12 @@ jobs: - run: npm i -g titanium name: Install Titanium CLI -# TODO: Cache sdk install - - run: ti sdk install 9.3.2.GA --force - name: Install SDK 9.3.2.GA + - run: ti sdk install 11.1.1.GA --force + name: Install SDK 11.1.1.GA + + - name: Set up Homebrew + id: set-up-homebrew + uses: Homebrew/actions/setup-homebrew@master - name: Install ccache run: brew install ccache @@ -75,7 +83,7 @@ jobs: with: api-level: 29 target: playstore - script: npm run test:android -- --sdkVersion 9.3.2.GA + script: npm run test:android -- --sdkVersion 11.1.1.GA disable-animations: false # defaulting to true, the commands sent to emulator to do this sometimes run too quickly after boot and cause "adb: device offline" failures - name: Show summary of ccache configuration and statistics counters diff --git a/android/build.gradle b/android/build.gradle index 5fd0133c..8c4f968a 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,9 +1,9 @@ dependencies { // Needed to check for Google Play Services availability on device. - implementation 'com.google.android.gms:play-services-base:17.5.0' + implementation 'com.google.android.gms:play-services-base:18.1.0' // App devs expect adding "ti.playservices" will enable "Fused Location" support to "Ti.Gelocation" APIs. // So, we must add this library to support it, even though this module doesn't use this library at all. - implementation 'com.google.android.gms:play-services-location:17.1.0' + implementation 'com.google.android.gms:play-services-location:20.0.0' } diff --git a/android/manifest b/android/manifest index a376ec7a..6406ae52 100644 --- a/android/manifest +++ b/android/manifest @@ -2,7 +2,7 @@ # this is your module manifest and used by Titanium # during compilation, packaging, distribution, etc. # -version: 17.5.0 +version: 18.1.0 apiversion: 4 architectures: arm64-v8a armeabi-v7a x86 x86_64 description: Titanium Google Play Services module.