Skip to content

Add auto-build with Maven #1

Add auto-build with Maven

Add auto-build with Maven #1

Workflow file for this run

name: SkipFlow Automated Build
# Trigger only on push, PR of `main`.
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: maven
# Using pom.xml and maven
- name: Build with Maven
run: mvn -B package --file pom.xml