Skip to content

FISH-8905 - add pipeline p7 #45

FISH-8905 - add pipeline p7

FISH-8905 - add pipeline p7 #45

Workflow file for this run

# 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: Verify PR
on:
pull_request:
branches: [ master, Payara6, Payara4, Payara7 ]
paths-ignore:
- 'README.*'
- '**/README.*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up JDK 21
uses: actions/setup-java@v2
with:
distribution: zulu
java-version: 21
- name: Cache repository
uses: actions/cache@v2
with:
path: |
~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Clean snapshot dependencies
run: "test -d ~/.m2/repository && find ~/.m2/repository/ -name '*-SNAPSHOT' -type d -print0 | xargs -0 rm -r"
continue-on-error: true
- name: Build with Maven
env:
MAVEN_OPTS: -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 -Dmaven.wagon.http.retryHandler.count=3 -Dmaven.wagon.rto=30000 -Djava.net.preferIPv4Stack=true
run: mvn -B -V clean verify
- name: Archive logs on failure
if: failure()
uses: actions/upload-artifact@v2
with:
name: logs
path: "**/*.log"