[JBEAP-22930] Mojarra -- test branch used for EAP 7.4 using SE 17 #1
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: Build and Test Mojarra 2.3.14.SP | |
on: | |
workflow_dispatch: | |
branches: | |
- 2.3.14.SP | |
push: | |
branches: | |
- 2.3.14.SP | |
pull_request: | |
branches: | |
- 2.3.14.SP | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java-version: [ 8, 17, 21 ] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK ${{ matrix.java-version }} | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.java-version }} | |
cache: 'maven' | |
- name: Restore cached Maven packages | |
id: cache-maven-packages | |
uses: actions/cache/restore@v3 | |
with: | |
path: | | |
~/.m2 | |
~/.local/share/containers | |
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} | |
- name: Clean and build | |
run: mvn -B -fae clean package -Dgithub=true | |
- name: Cache Maven packages | |
uses: actions/cache/save@v3 | |
with: | |
path: | | |
~/.m2 | |
~/.local/share/containers | |
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} |