Skip to content

add build

add build #1

Workflow file for this run

# .github/workflows/build-test.yml
name: Build and Test Java 17 with Maven
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Test with Maven
run: mvn -B test --file pom.xml