Install xmlstarlet #3
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: Java CI with Maven | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
env: | |
# Since version 3.9.0 of Maven it will automatically understand this environment variable. | |
# However, as of 2024-11 the latest versions of Ubuntu and Debian were on 3.8.8 so it will take some | |
# time until we can remove the $MAVEN_ARGS below. | |
MAVEN_ARGS: "--no-transfer-progress -Dstyle.color=always" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- run: | | |
sudo apt-get install xmlstarlet -yq | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
cache: maven | |
- name: Build with Maven | |
run: mvn clean install |