Skip to content

merge :: feature/ci #13

merge :: feature/ci

merge :: feature/ci #13

Workflow file for this run

name: Android CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Set up JDK 18
uses: actions/setup-java@v3
with:
java-version: '18'
distribution: 'corretto'
- name: Grant execution permission for gradlew
run: chmod +x gradlew
- name: Create local.properties
run: echo '${{ secrets.LOCAL_PROPERTIES }}' > ./local.properties
- name: Build app module
run: ./gradlew assembleDebug