Skip to content

merge :: feature/ci

merge :: feature/ci #8

Workflow file for this run

name: Android CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build-app:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- 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 :app:build
build-core:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- 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 core module
run: ./gradlew :core:build