Android CI #256
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Android CI | |
on: | |
workflow_dispatch : | |
schedule : | |
- cron: '0 0 * * *' | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: set up JDK | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 11 | |
# Default gardle settings are sufficient. Can be used for custom gradle setting | |
# - name: Copy CI gradle.properties | |
# run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties | |
- name: Build with Gradle | |
run: ./gradlew build | |
# - name: Upload apk | |
# uses: actions/upload-artifact@v2 | |
# with: | |
# name: debug-apk | |
# path: app/build/outputs/apk/debug/app-debug.apk | |
# Used for uploading generated apk for future use |