android.yml 540 B

123456789101112131415161718192021222324252627
  1. name: Android CI
  2. on:
  3. push:
  4. branches: [ master ]
  5. pull_request:
  6. branches: [ master ]
  7. jobs:
  8. build:
  9. runs-on: ubuntu-latest
  10. steps:
  11. - uses: actions/checkout@v2
  12. - name: set up JDK 1.8
  13. uses: actions/setup-java@v1
  14. with:
  15. java-version: 1.8
  16. - name: Build Debug APK
  17. run: ./gradlew assembleDebug
  18. - name: Releasing using Hub
  19. uses: ShaunLWM/action-release-debugapk@master
  20. env:
  21. GITHUB_TOKEN: ${{secrets.TOKEN}}
  22. APP_FOLDER: app
  23. RELEASE_TITLE: xunfei-tts