Skip to content

Simply adapted to tablets #6

Simply adapted to tablets

Simply adapted to tablets #6

Workflow file for this run

name: Android CI
on:
push:
branches: [master]
pull_request:
workflow_dispatch:
jobs:
build:
name: Build debug apk
runs-on: ubuntu-latest
steps:
- name: Cancel previous runs
uses: styfle/cancel-workflow-action@0.5.0
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v2
- name: set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'adopt'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build debug apk
uses: eskatos/gradle-command-action@v1
with:
arguments: assembleDebug
distributions-cache-enabled: true
dependencies-cache-enabled: true
configuration-cache-enabled: true
- name: Upload debug apk
uses: actions/upload-artifact@v2
if: ${{ !github.head_ref }}
with:
name: apk-debug
path: app/build/outputs/apk/debug