-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
5 additions
and
21 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 |
---|---|---|
|
@@ -12,32 +12,17 @@ jobs: | |
# When GitHub Actions supports it: https://github.com/actions/toolkit/issues/399 | ||
# We will use the experimental flag as indicator whether a failure should cause a workflow failure | ||
include: | ||
- jdk: 8 | ||
- jdk: 11 | ||
- jdk: 15 | ||
- jdk: 16 | ||
- jdk: 11 | ||
build-jdk: 11 | ||
- jdk: 15 | ||
build-jdk: 15 | ||
- jdk: 16 | ||
build-jdk: 16 | ||
- jdk: 17 | ||
build-jdk: 17 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Java 8 | ||
uses: AdoptOpenJDK/install-jdk@v1 | ||
with: | ||
version: 8 | ||
targets: JDK8_HOME;JAVA_HOME | ||
- name: Download Requested JDK | ||
uses: sormuras/[email protected] | ||
id: jdk | ||
if: ${{ matrix.jdk != 8 }} | ||
with: | ||
feature: ${{ matrix.jdk }} | ||
- name: Set up Requested JDK | ||
uses: actions/[email protected] | ||
if: ${{ matrix.jdk != 8 }} | ||
with: | ||
java-version: ${{ matrix.jdk }} | ||
jdkFile: ${{ env.JDK_FILE }} | ||
|
@@ -60,18 +45,17 @@ jobs: | |
|
||
- name: Run build script | ||
env: | ||
JDK8_HOME: ${{ env.JDK8_HOME }} | ||
JDK: ${{ matrix.jdk }} | ||
BUILD_JDK: ${{ matrix.build-jdk }} | ||
run: ./ci/build-github.sh | ||
shell: bash | ||
|
||
- name: Upload test reports (if Maven failed) | ||
uses: actions/upload-artifact@v2 | ||
uses: actions/upload-artifact@v4 | ||
if: failure() | ||
with: | ||
name: test-reports-jdk${{ matrix.jdk }}-build-jdk${{ matrix.build-jdk }} | ||
path: './**/*-reports/' | ||
|
||
- name: Omit produced artifacts from build cache | ||
run: ./ci/before-cache.sh | ||
run: ./ci/before-cache.sh |
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