Skip to content

set maven.compiler.release to java 17 #32

set maven.compiler.release to java 17

set maven.compiler.release to java 17 #32

Workflow file for this run

name: Tests
on:
push:
branches: [ master, windows-support ]
env:
TZ: "Europe/Berlin"
jobs:
unittest:
name: Unittests
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
cache: 'maven'
- name: Set timezone on Windows
if: matrix.os == 'windows-latest'
run: |
tzutil /g
tzutil /s "W. Europe Standard Time"
tzutil /g
- name: Compile
run: mvn compile
# - name: Verify
# run: mvn --batch-mode test -D"org.slf4j.simpleLogger.defaultLogLevel"="error" -D"org.slf4j.simpleLogger.log.de.neuland.pug4j"="debug" -D"test"="PugLexerTest"
- name: Verify all
run: mvn --batch-mode --update-snapshots verify