Skip to content

Fixed up for packaging and added Swift demo app. (#12) #13

Fixed up for packaging and added Swift demo app. (#12)

Fixed up for packaging and added Swift demo app. (#12) #13

Workflow file for this run

name: build-kotlin
on:
workflow_dispatch:
push:
branches: [main]
pull_request:
branches: [main]
defaults:
run:
working-directory: ./kotlin/
concurrency:
# cancel jobs on PRs only
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checking out branch
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- name: Setup Android SDK
uses: android-actions/setup-android@v3
- name: Build with Gradle
run: ./gradlew build
- name: Unit test
run: ./gradlew test