All checks were successful
Build / build (pull_request) Successful in 9m31s
This commit updates the CI build and release workflows to enable Gradle caching. This change adds `cache: gradle` to the Java setup action. These changes apply to both `build.yaml` and `release.yaml` files.
28 lines
523 B
YAML
28 lines
523 B
YAML
name: Build
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Set up JDK 17
|
|
uses: actions/setup-java@v3
|
|
with:
|
|
java-version: '17'
|
|
distribution: 'temurin'
|
|
cache: gradle
|
|
|
|
- name: Setup Android SDK
|
|
uses: android-actions/setup-android@v3
|
|
|
|
- name: Build with Gradle
|
|
run: ./gradlew composeApp:buildDebug --no-daemon
|