Skip to content

fix: add properties to the java version pipeline #2

fix: add properties to the java version pipeline

fix: add properties to the java version pipeline #2

Workflow file for this run

name: Build Test and Deploy
on:
push
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
java-version: '21'
distribution: 'temurin' # Default distribution provided by Eclipse Adoptium project
cache: maven # Enable dependency caching
# Cache Maven dependencies to speed up the build
- name: Cache Maven Dependencies
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build with Maven
run: mvn clean verify