🔨 Add Server interface for better iOS SwiftUI integration #2785
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
BUILD_FULL_PLATFORM: YES | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
check-latest: true | |
- name: Cache Gradle dependencies | |
uses: actions/cache@v4 | |
with: | |
path: | | |
~/.gradle/caches | |
~/.gradle/wrapper | |
key: > | |
${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', | |
'**/gradle-wrapper.properties', '**/libs.versions.toml') }} | |
- name: Cache Chrome Driver And Headless Shell | |
uses: actions/cache@v4 | |
with: | |
path: ./composeApp/resources | |
key: chrome-driver-headless-shell-${{ hashFiles('**/webDriver.properties') }} | |
- name: Cache Jetbrains Runtime JDK | |
uses: actions/cache@v4 | |
with: | |
path: ./composeApp/jbr | |
key: jbr-${{ hashFiles('**/jbr.yaml') }} | |
- name: Build with Gradle | |
run: ./gradlew build |