mirror of
https://github.com/fromchat-messenger/app.git
synced 2026-09-22 19:15:05 +03:00
a13be70262
Co-authored-by: Cursor <cursoragent@cursor.com>
25 lines
630 B
YAML
25 lines
630 B
YAML
name: Setup Java and Gradle
|
|
description: Temurin JDK 17 + Gradle wrapper with dependency and build cache
|
|
|
|
inputs:
|
|
java-architecture:
|
|
description: Optional JDK architecture (x64). Omit for host default.
|
|
required: false
|
|
default: ""
|
|
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- uses: actions/setup-java@v5
|
|
with:
|
|
distribution: temurin
|
|
java-version: "17"
|
|
architecture: ${{ inputs.java-architecture }}
|
|
|
|
- uses: gradle/actions/setup-gradle@v5
|
|
with:
|
|
gradle-version: wrapper
|
|
cache-read-only: false
|
|
cache-overwrite-existing: true
|
|
add-job-summary: on-failure
|