davidliu
Committed by GitHub

Create android.yml

  1 +name: Android CI
  2 +
  3 +on:
  4 + push:
  5 + branches: [ master ]
  6 + pull_request:
  7 + branches: [ master ]
  8 +
  9 +jobs:
  10 + build:
  11 +
  12 + runs-on: ubuntu-latest
  13 +
  14 + steps:
  15 + - name: checkout client-sdk-android
  16 + uses: actions/checkout@v2.3.4
  17 + - name: checkout protocol
  18 + uses: actions/checkout@v2.3.4
  19 + with:
  20 + repository: livekit/protocol
  21 + - name: set up JDK 12
  22 + uses: actions/setup-java@v2
  23 + with:
  24 + java-version: '12'
  25 + distribution: 'adopt'
  26 +
  27 + - name: Grant execute permission for gradlew
  28 + run: chmod +x gradlew
  29 + - name: Build with Gradle
  30 + run: ./gradlew assemble