16 lines
461 B
YAML
16 lines
461 B
YAML
name: Set up the build environment
|
|
description: JDK and Gradle cache.
|
|
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad
|
|
with:
|
|
distribution: zulu
|
|
java-version: '25'
|
|
cache-jdk: true
|
|
|
|
- uses: gradle/actions/setup-gradle@8da46b539cd8fe6ab27ca75128919a18d757604c
|
|
with:
|
|
cache-provider: "${{ github.server_url == 'https://github.com' && 'basic' || 'external' }}"
|