Skip to content

Kotlin sample app with stub polyline library #1

Kotlin sample app with stub polyline library

Kotlin sample app with stub polyline library #1

Workflow file for this run

name: build-kotlin
on:
workflow_dispatch:
push:
branches: [main]
pull_request:
branches: [main]
defaults:
run:
work-directory: ./kotlin/

Check failure on line 12 in .github/workflows/build-kotlin.yml

View workflow run for this annotation

GitHub Actions / build-kotlin

Invalid workflow file

The workflow is not valid. .github/workflows/build-kotlin.yml (Line: 12, Col: 5): Unexpected value 'work-directory'
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