Skip to content

[github-action] Add maven.yml #10

[github-action] Add maven.yml

[github-action] Add maven.yml #10

Workflow file for this run

name: Java CI with Maven
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Build with Maven
run: mvn -B clean package --file pom.xml