Skip to content

Update Ubuntu for CI #193

Update Ubuntu for CI

Update Ubuntu for CI #193

Workflow file for this run

name: Build
on:
push:
branches:
- master
- "4.3"
paths-ignore:
- "README.md"
- "release-notes/*"
pull_request:
branches:
- master
permissions:
contents: read
jobs:
build:
runs-on: 'ubuntu-22.04'
strategy:
fail-fast: false
matrix:
# Alas, JDK14 can't be yet used as JUG builds for Java 6
java_version: ['8', '11']
env:
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
steps:
- uses: actions/checkout@v3.5.3
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: "temurin"
java-version: ${{ matrix.java_version }}
cache: 'maven'
- name: Build
run: ./mvnw -B -q -ff -ntp verify
- name: Generate code coverage
if: github.event_name != 'pull_request' && matrix.java_version == '8'
run: ./mvnw -B -q -ff -ntp test
- name: Publish code coverage
if: github.event_name != 'pull_request' && matrix.java_version == '8'
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./target/site/jacoco/jacoco.xml
flags: unittests
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy