mobile-application/.github/workflows/build.yaml
Ben Martin c55308f080
All checks were successful
Build / build (pull_request) Successful in 9m31s
feat: add Gradle caching in CI workflows
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.
2025-01-21 00:54:15 +00:00

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