Skip to content

chore: .java-version to 21 #49

chore: .java-version to 21

chore: .java-version to 21 #49

Workflow file for this run

name: Build
on:
push:
branches:
- 'master'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version-file: '.java-version'
distribution: 'temurin'
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file
- name: Set up Gradle
uses: gradle/actions/setup-gradle@v3
with:
validate-wrappers: true
build-scan-publish: true
build-scan-terms-of-use-url: "https://gradle.com/terms-of-service"
build-scan-terms-of-use-agree: "yes"
- name: Run build
run: ./gradlew build --scan