Skip to content

fix(ci): improve JAVA_HOME verification in test workflow #17

fix(ci): improve JAVA_HOME verification in test workflow

fix(ci): improve JAVA_HOME verification in test workflow #17

Workflow file for this run

name: Compile
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
workflow_dispatch:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
environment: prod
steps:
# Checkout the repository
- uses: actions/checkout@v4
# Set up JDK 21
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: maven
cache-dependency-path: pom.xml
# Build with Maven
- name: Compile with Maven
run: mvn compile -f pom.xml