Skip to content

wtf Kotlin 2.1 to Support Java 23 #682

wtf Kotlin 2.1 to Support Java 23

wtf Kotlin 2.1 to Support Java 23 #682

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ "main", "delta-oauth2.0" ]
pull_request:
branches: [ "main" ]
jobs:
build:
name: Build Image
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
strategy:
fail-fast: false
matrix:
language: [ 'java' ]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Java JDK
uses: actions/setup-java@v4
with:
java-version: 21
distribution: 'oracle'
check-latest: true
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file
# https://github.com/oktadev/auth0-full-stack-java-example/blob/main/.github/workflows/publish.yml
# - name: Set Swap Space
# if: runner.os == 'Linux'
# uses: pierotofy/set-swap-space@master
# with:
# swap-size-gb: 6
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: BuildImage
run: ./gradlew bootBuildImage
- name: Publish 2 MavenLocal
run: ./gradlew publishToMavenLocal