Set a version for the Maven antrun plugin (3.1.0) #367
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
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 -Prun-tck |