SAE201-DevApp/.github/workflows/maven.yml
github-classroom[bot] e4622a32bd Initial commit
2022-05-24 06:23:57 +00:00

22 lines
443 B
YAML

name: Java CI with Maven
on:
- push
- pull_request
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: 'zulu'
java-package: 'jdk+fx'
cache: maven
- name: Run headless test
uses: GabrielBB/xvfb-action@v1
with:
run: mvn -B package --file pom.xml