android.yml 472 B

123456789101112131415161718192021222324252627
  1. name: Android CI
  2. on:
  3. push:
  4. branches: [ "main" ]
  5. pull_request:
  6. branches: [ "main" ]
  7. jobs:
  8. build:
  9. runs-on: ubuntu-latest
  10. steps:
  11. - uses: actions/checkout@v3
  12. - name: set up JDK 11
  13. uses: actions/setup-java@v3
  14. with:
  15. java-version: '11'
  16. distribution: 'temurin'
  17. cache: gradle
  18. - name: Grant execute permission for gradlew
  19. run: chmod +x gradlew
  20. - name: Build with Gradle
  21. run: ./gradlew build