Skip to content

Create maven.yml

Create maven.yml #2

Workflow file for this run

on:
push:
branches:
- "main"
pull_request:
branches: [main]
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'
cache: maven
- name: Mvn Compile
run: mvn compile --fail-never
- name: Mvn Test
run: mvn test --fail-never