This is an automated email from the ASF dual-hosted git repository.
pkarwasz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/logging-log4j-transform.git
The following commit(s) were added to refs/heads/main by this push:
new aa7cade Add JDK 8 to the build environment
aa7cade is described below
commit aa7caded3b1a83f7880a10db95f3f9899cfa671f
Author: Piotr P. Karwasz <[email protected]>
AuthorDate: Sat Feb 4 12:24:41 2023 +0100
Add JDK 8 to the build environment
---
.github/workflows/build.yml | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index cfd7844..842f9e6 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -45,6 +45,15 @@ jobs:
- name: Checkout repository
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c #
3.3.0
+ - name: Setup JDK 8
+ uses: actions/setup-java@1df8dbefe2a8cbc99770194893dd902763bee34b #
3.7.0
+ with:
+ distribution: temurin
+ java-version: 8
+ java-package: jdk
+ architecture: x64
+ cache: maven
+
- name: Setup JDK 11
uses: actions/setup-java@1df8dbefe2a8cbc99770194893dd902763bee34b #
3.7.0
with:
@@ -58,6 +67,8 @@ jobs:
# For details, see:
https://maven.apache.org/guides/mini/guide-reproducible-builds.html#how-to-test-my-maven-build-reproducibility
- name: Build
shell: bash
+ env:
+ JAVA_HOME: $JAVA_HOME_11_X64
run: |
./mvnw \
--show-version --batch-mode --errors --no-transfer-progress \
@@ -69,6 +80,8 @@ jobs:
# For details, see:
https://maven.apache.org/guides/mini/guide-reproducible-builds.html#how-to-test-my-maven-build-reproducibility
- name: Report build reproducibility
shell: bash
+ env:
+ JAVA_HOME: $JAVA_HOME_11_X64
run: |
./mvnw \
--show-version --batch-mode --errors --no-transfer-progress \