Skip to content

Commit

Permalink
JDK 17 builds
Browse files Browse the repository at this point in the history
  • Loading branch information
ottenhoff committed Dec 12, 2024
1 parent 9d2ae8c commit ab8d391
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,26 @@ on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Git Checkout
uses: actions/checkout@v2
- name: JDK 11
uses: actions/setup-java@v1
uses: actions/checkout@v4
- name: JDK 17
uses: actions/setup-java@v4
with:
java-version: 11
architecture: x64
java-version: 17
distribution: temurin
cache: maven
- name: Search for bad unicode translations
run: |
find . -name \*.properties -exec grep '\\u[0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][^0-9a-fA-F]' {} \; &> grep.txt
find . -name \*.properties -exec grep '\\u[0-9a-fA-F][0-9a-fA-F][^0-9a-fA-F][0-9a-fA-F]' {} \; &>> grep.txt
find . -name \*.properties -exec grep '\\u[0-9a-fA-F][^0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]' {} \; &>> grep.txt
find . -name \*.properties -exec grep '\\u[^0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]' {} \; &>> grep.txt
if [ -s grep.txt ]; then
exit 1
fi
- name: Build with Maven
env:
MAVEN_OPTS: -Djava.awt.headless=true -Dorg.slf4j.simpleLogger.defaultLogLevel=info -Dmaven.wagon.http.retryHandler.count=2 -Dmaven.wagon.http.pool=true
run: mvn clean install -Psnapshots -V -B
run: mvn --show-version --batch-mode clean install -Psnapshots -V test

0 comments on commit ab8d391

Please sign in to comment.