Skip to content

[maven-release-plugin] prepare release 5.0.5 #539

[maven-release-plugin] prepare release 5.0.5

[maven-release-plugin] prepare release 5.0.5 #539

name: Run TCK with Client Side Filters
on:
push:
branches:
- master
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 8 for TCK Executor
uses: actions/setup-java@v2
with:
java-version: 8
distribution: 'temurin'
- name: Save JDK8 path
run: |
export JDK8_PATH=$JAVA_HOME
echo "JDK8_PATH=$JDK8_PATH" >> $GITHUB_ENV
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'temurin'
- name: Cache local Maven repository
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build with JDK17
run: mvn -B clean install -DskipTests -Dspotbugs.skip=true
- name: TCK tests - client side filters
run: JAVA_HOME=$JDK8_PATH mvn -B verify -DskipTests -Dmaven.main.skip=true -Dmaven.test.skip=true -Prun-tck