Update README.md #39
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: [ main ] | |
pull_request: # all pull requests | |
workflow_dispatch: # allow triggering manually | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Check out repository' | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: 'Set up Java 17' | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: '17' | |
cache: 'maven' | |
- name: 'Build' | |
run: | | |
xvfb-run mvn -V --batch-mode verify jacoco:report | |
- name: 'Store results' | |
uses: actions/upload-artifact@v3 | |
with: | |
name: target | |
path: target/ | |