Skip to content

Regenerate SDKs

Regenerate SDKs #177

name: Lightspark SDK Build
on:
push:
paths:
- 'lightspark-sdk/**'
- 'core/**'
- 'build.gradle.kts'
- '.github/workflows/lightspark-sdk-build.yaml'
branches:
- 'main'
- 'develop'
pull_request:
branches:
- 'develop'
paths:
- 'lightspark-sdk/**'
- 'core/**'
- 'build.gradle.kts'
- '.github/workflows/lightspark-sdk-build.yaml'
jobs:
build:
# No point in running this build on a core cut because it will fail until the deploy is done.
if: github.event.base_ref == null || !startsWith(github.event.base_ref, 'release/core-')
runs-on: macos-12
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@ccb4328a959376b642e027874838f60f8e596de3
- name: Build and lint
uses: gradle/[email protected]
env:
CI: true
with:
arguments: lightspark-sdk:assemble