Browse Source

Create android.yml

jianboy 4 years ago
parent
commit
0784266b36
1 changed files with 27 additions and 0 deletions
  1. 27 0
      android.yml

+ 27 - 0
android.yml

@@ -0,0 +1,27 @@
+name: Android CI
+
+on:
+  push:
+    branches: [ master ]
+  pull_request:
+    branches: [ master ]
+
+jobs:
+  build:
+
+    runs-on: ubuntu-latest
+
+    steps:
+    - uses: actions/checkout@v2
+    - name: set up JDK 1.8
+      uses: actions/setup-java@v1
+      with:
+        java-version: 1.8
+    - name: Build Debug APK
+      run: ./gradlew assembleDebug
+    - name: Releasing using Hub
+      uses: ShaunLWM/action-release-debugapk@master
+      env:
+        GITHUB_TOKEN: ${{secrets.TOKEN}}
+        APP_FOLDER: app
+        RELEASE_TITLE: xunfei-tts