-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JBEAP-22930] Mojarra -- test branch used for EAP 7.4 using SE 17
Modify version in POM to add support for Java 17 Minor test update to work around minor data change in testing Add GH Action workflow
- Loading branch information
Showing
4 changed files
with
91 additions
and
33 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
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') }} |
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
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
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