This is an automated email from the ASF dual-hosted git repository.
vy pushed a commit to branch release-2.x
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
The following commit(s) were added to refs/heads/release-2.x by this push:
new f5bb768 Bump actions/setup-java from 2.1.0 to 2.2.0 (#561)
f5bb768 is described below
commit f5bb768542373684b4bd62d9d1f2185924e36f1b
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
AuthorDate: Thu Aug 26 16:20:34 2021 +0200
Bump actions/setup-java from 2.1.0 to 2.2.0 (#561)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from
2.1.0 to 2.2.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v2.1.0...v2.2.0)
---
updated-dependencies:
- dependency-name: actions/setup-java
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot]
<49699333+dependabot[bot]@users.noreply.github.com>
---
.github/workflows/main.yml | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 32a02b2..d4b6048 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -1,6 +1,6 @@
name: CI
-on: [push]
+on: [push, pull_request]
jobs:
build:
@@ -25,8 +25,9 @@ jobs:
${{ runner.os }}-maven-
- name: Setup JDK 11
- uses: actions/setup-java@v1
+ uses: actions/[email protected]
with:
+ distribution: 'adopt'
java-version: 11
java-package: jdk
architecture: x64
@@ -34,6 +35,7 @@ jobs:
- name: Setup JDK 8
uses: actions/setup-java@v1
with:
+ distribution: 'adopt'
java-version: 8
java-package: jdk
architecture: x64
@@ -43,6 +45,7 @@ jobs:
run: env | grep '^JAVA'
- name: Build with Maven (Linux)
+ timeout-minutes: 60
if: runner.os == 'Linux'
continue-on-error: true
run: ./mvnw -V -B --no-transfer-progress -e -DtrimStackTrace=false
-Dmaven.test.failure.ignore=true -Dsurefire.rerunFailingTestsCount=1
--global-toolchains .github/workflows/maven-toolchains.xml verify
@@ -52,6 +55,7 @@ jobs:
run: set java
- name: Build with Maven (Windows)
+ timeout-minutes: 60
if: runner.os == 'Windows'
continue-on-error: true
run: ./mvnw -V -B --no-transfer-progress -e "-DtrimStackTrace=false"
"-Dmaven.test.failure.ignore=true" "-Dsurefire.rerunFailingTestsCount=1"
"-Dlog4j2.junit.fileCleanerSleepPeriodMillis=1000" --global-toolchains
".github\workflows\maven-toolchains.xml" verify
@@ -61,6 +65,7 @@ jobs:
run: env | grep '^JAVA'
- name: Build with Maven (MacOS)
+ timeout-minutes: 60
if: runner.os == 'macOS'
continue-on-error: true
run: ./mvnw -V -B --no-transfer-progress -e -DtrimStackTrace=false
-Dmaven.test.failure.ignore=true -Dsurefire.rerunFailingTestsCount=1
--global-toolchains .github/workflows/maven-toolchains.xml verify