Update compose.multiplatform to v1.7.0 #448
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 | |
env: | |
GRADLE_OPTS: '-Dorg.gradle.jvmargs=-Xmx4g -Dorg.gradle.daemon=false' | |
GRADLE_BUILD_ACTION_CACHE_DEBUG_ENABLED: true | |
on: | |
pull_request: | |
paths-ignore: [ '**/**.md' ] | |
concurrency: | |
group: build-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
ci-build: | |
runs-on: macos-latest | |
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip-ci') }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup JDK 22 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: zulu | |
java-version: 22 | |
- name: Setup Android SDK | |
uses: android-actions/setup-android@v3 | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v4 | |
with: | |
validate-wrappers: true | |
gradle-home-cache-cleanup: true | |
- name: Run build (includes testing and spotless check) | |
run: ./gradlew build --stacktrace | |
- name: Upload reports | |
if: always() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: build-reports | |
retention-days: 7 | |
path: | | |
**/build/reports/* | |
- name: Upload test results | |
if: always() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: test-results | |
retention-days: 7 | |
path: | | |
**/build/test-results/* |