android.yml 871 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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 17
  13. uses: actions/setup-java@v1
  14. with:
  15. java-version: 17
  16. - name: Gradle cache
  17. id: cache
  18. uses: actions/cache@v2
  19. with:
  20. path: |
  21. ~/.gradle/
  22. ~/.gradle/wrapper
  23. key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
  24. restore-keys: |
  25. ${{ runner.os }}-gradle-
  26. - name: Build Debug APK
  27. run: ./gradlew assembleDebug
  28. # - name: Releasing using Hub
  29. # uses: ShaunLWM/action-release-debugapk@master
  30. # env:
  31. # GITHUB_TOKEN: ${{secrets.TOKEN}}
  32. # APP_FOLDER: app
  33. # RELEASE_TITLE: Album