Skip to content

GitHub Actions: Select Java 17 and use cache #389

GitHub Actions: Select Java 17 and use cache

GitHub Actions: Select Java 17 and use cache #389

Workflow file for this run

name: Build
on: [pull_request, push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
cache: 'gradle'
- run: ./gradlew --no-daemon build
env:
TERM: dumb
JAVA_OPTS: -Xmx2048m