Skip to content

Add workflow for wrapper check and building ios and android #2

Add workflow for wrapper check and building ios and android

Add workflow for wrapper check and building ios and android #2

Workflow file for this run

name: Build
on:
pull_request:
push:
branches: [ main ] # Trigger on pushes to the main branch
workflow_dispatch:
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'corretto'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Setup Android SDK
uses: android-actions/setup-android@v3
- name: Check, Assemble Android and compile iOS
run: ./gradlew ktlintCheck assembleDebug compileKotlinIosX64 --no-daemon