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 17
      uses: actions/setup-java@v1
      with:
        java-version: 17
        
    - 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: Album
