davidliu
Committed by GitHub

Update android.yml

@@ -8,33 +8,27 @@ on: @@ -8,33 +8,27 @@ on:
8 8
9 jobs: 9 jobs:
10 build: 10 build:
11 -  
12 runs-on: ubuntu-latest 11 runs-on: ubuntu-latest
13 defaults: 12 defaults:
14 - run:  
15 - working-directory: client-sdk-android 13 + run:
  14 + working-directory: ./client-sdk-android
16 steps: 15 steps:
17 - name: checkout client-sdk-android 16 - name: checkout client-sdk-android
18 uses: actions/checkout@v2.3.4 17 uses: actions/checkout@v2.3.4
  18 + with:
  19 + path: ./client-sdk-android
19 - name: checkout protocol 20 - name: checkout protocol
20 uses: actions/checkout@v2.3.4 21 uses: actions/checkout@v2.3.4
21 with: 22 with:
22 repository: livekit/protocol 23 repository: livekit/protocol
  24 + path: ./protocol
23 - name: set up JDK 12 25 - name: set up JDK 12
24 uses: actions/setup-java@v2 26 uses: actions/setup-java@v2
25 with: 27 with:
26 java-version: '12' 28 java-version: '12'
27 distribution: 'adopt' 29 distribution: 'adopt'
28 30
29 - - name: PWD?  
30 - run: pwd  
31 -  
32 - - name: ls?  
33 - run: ls -al  
34 - name: Grant execute permission for gradlew 31 - name: Grant execute permission for gradlew
35 run: chmod +x gradlew 32 run: chmod +x gradlew
36 - name: Build with Gradle 33 - name: Build with Gradle
37 - run: |  
38 - pwd  
39 - ls  
40 - ./gradlew assemble 34 + run: ./gradlew assemble