atlantafx/.github/actions/prepare-java/action.yml
2022-07-23 20:02:13 +04:00

18 lines
433 B
YAML

name: "Prepare Java"
description: "Install Java and cache Maven dependencies"
runs:
using: "composite"
steps:
- name: Build | Setup OpenJDK
uses: actions/setup-java@v1
with:
java-version: 17
- name: Build | Cache Maven dependencies
uses: actions/cache@v2
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2