This is an automated email from the ASF dual-hosted git repository.

vy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git

commit 8bcb2a95970e05f310c60a8460ae4bf223d950a6
Author: Volkan Yazıcı <vol...@yazi.ci>
AuthorDate: Thu Apr 18 16:02:11 2024 +0200

    Remove redundant `java-version` parameter from CI
---
 .github/workflows/build.yaml            | 4 ----
 .github/workflows/merge-dependabot.yaml | 4 ----
 2 files changed, 8 deletions(-)

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 1e9a8c6162..69532e45e1 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -40,7 +40,6 @@ jobs:
     if: github.actor != 'dependabot[bot]'
     uses: 
apache/logging-parent/.github/workflows/build-reusable.yaml@rel/11.0.0
     with:
-      java-version: 17
       site-enabled: true
 
   deploy-snapshot:
@@ -51,8 +50,6 @@ jobs:
     secrets:
       NEXUS_USERNAME: ${{ secrets.NEXUS_USER }}
       NEXUS_PASSWORD: ${{ secrets.NEXUS_PW }}
-    with:
-      java-version: 17
 
   deploy-release:
     needs: build
@@ -69,5 +66,4 @@ jobs:
     permissions:
       contents: write
     with:
-      java-version: 17
       project-id: log4j
diff --git a/.github/workflows/merge-dependabot.yaml 
b/.github/workflows/merge-dependabot.yaml
index 67fc0de075..db3b848117 100644
--- a/.github/workflows/merge-dependabot.yaml
+++ b/.github/workflows/merge-dependabot.yaml
@@ -31,14 +31,10 @@ jobs:
   build:
     if: github.repository == 'apache/logging-log4j2' && github.event_name == 
'pull_request_target' && github.actor == 'dependabot[bot]'
     uses: 
apache/logging-parent/.github/workflows/build-reusable.yaml@rel/11.0.0
-    with:
-      java-version: 17
 
   merge-dependabot:
     needs: build
     uses: 
apache/logging-parent/.github/workflows/merge-dependabot-reusable.yaml@rel/11.0.0
-    with:
-      java-version: 17
     permissions:
       contents: write                                             # to push 
changelog commits
       pull-requests: write                                        # to close 
the PR

Reply via email to