Bump tycho-version from 3.0.4 to 4.0.2 #461
Workflow file for this run
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
# This workflow will build a Java project with Maven | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | |
name: Java CI with Maven | |
on: | |
push: | |
branches: [ main, 2022-12, 2022-09, 2022-06 ] | |
pull_request: | |
branches: [ main, 2022-12, 2022-09, 2022-06 ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
DISPLAY: :0 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 # required for jgit timestamp provider to work | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
cache: maven | |
- run: | | |
sudo apt-get install xvfb | |
# start xvfb in the background | |
sudo /usr/bin/Xvfb $DISPLAY -screen 0 1280x1024x24 & | |
- name: Cache Maven packages | |
uses: actions/cache@v3 | |
with: | |
path: ~/.m2 | |
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} | |
restore-keys: ${{ runner.os }}-m2 | |
- name: Build with Maven | |
run: xvfb-run --auto-servernum mvn -e -V --batch-mode --global-toolchains ${{ github.workspace }}/.github/workflows/toolchains.xml -Pweb,jacoco clean verify | |
- name: Cleanup xvfb pidx build | |
uses: bcomnes/cleanup-xvfb@v1 | |
- name: Publish Test Report | |
uses: mikepenz/action-junit-report@v3 | |
if: always() # always run even if the previous step fails | |
with: | |
report_paths: '**/target/surefire-reports/TEST-*.xml' |