Skip to content

fix actions

fix actions #19

Workflow file for this run

name: Android CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
# ref: https://github.com/marketplace/actions/automated-build-android-app-with-github-action
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 5
- name: set up JDK
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'oracle'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Print generated version
run: ./gradlew --quiet androidGitVersion
- name: Build with Gradle
run: ./gradlew build
- name: Build apk debug project (APK)
run: ./gradlew packageDebugAndroidTest