You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by vy...@apache.org on 2023/09/01 13:29:34 UTC

[logging-parent] branch main updated: Default the compiler version to 17 in reusable workflows

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-parent.git


The following commit(s) were added to refs/heads/main by this push:
     new 75ca6c5  Default the compiler version to 17 in reusable workflows
75ca6c5 is described below

commit 75ca6c57b041deb6cc32076b47767cc46ce1c0f4
Author: Volkan Yazıcı <vo...@yazi.ci>
AuthorDate: Fri Sep 1 15:29:17 2023 +0200

    Default the compiler version to 17 in reusable workflows
---
 .github/workflows/build-reusable.yml           | 4 ++--
 .github/workflows/build.yml                    | 5 -----
 .github/workflows/deploy-release-reusable.yml  | 4 ++--
 .github/workflows/deploy-snapshot-reusable.yml | 4 ++--
 4 files changed, 6 insertions(+), 11 deletions(-)

diff --git a/.github/workflows/build-reusable.yml b/.github/workflows/build-reusable.yml
index 88eebdb..2e5ef59 100644
--- a/.github/workflows/build-reusable.yml
+++ b/.github/workflows/build-reusable.yml
@@ -21,8 +21,8 @@ on:
   workflow_call:
     inputs:
       java-version:
-        description: "The Java *compiler* version! (Target is fixed: 8)"
-        required: false
+        description: "The Java *compiler* version. (Target is fixed: 8)"
+        default: 17
         type: string
 
 jobs:
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 7f2d823..73e2d6b 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -43,16 +43,12 @@ jobs:
     permissions:
       contents: write
       pull-requests: write
-    with:
-      java-version: 17
 
   deploy-snapshot:
     needs: build
     if: github.repository == 'apache/logging-parent' && github.ref == 'refs/heads/main'
     uses: apache/logging-parent/.github/workflows/deploy-snapshot-reusable.yml@main
     secrets: inherit
-    with:
-      java-version: 17
 
   deploy-release:
     needs: build
@@ -60,5 +56,4 @@ jobs:
     uses: apache/logging-parent/.github/workflows/deploy-release-reusable.yml@main
     secrets: inherit
     with:
-      java-version: 17
       project-name: logging-parent
diff --git a/.github/workflows/deploy-release-reusable.yml b/.github/workflows/deploy-release-reusable.yml
index 861f5da..5cce55e 100644
--- a/.github/workflows/deploy-release-reusable.yml
+++ b/.github/workflows/deploy-release-reusable.yml
@@ -21,8 +21,8 @@ on:
   workflow_call:
     inputs:
       java-version:
-        description: "The Java *compiler* version! (Target is fixed: 8)"
-        required: false
+        description: "The Java *compiler* version. (Target is fixed: 8)"
+        default: 17
         type: string
       project-name:
         description: Identifier used in the distribution artifact and Subversion repository folder filenames (e.g., `logging-parent`)
diff --git a/.github/workflows/deploy-snapshot-reusable.yml b/.github/workflows/deploy-snapshot-reusable.yml
index ce1d854..b3557d3 100644
--- a/.github/workflows/deploy-snapshot-reusable.yml
+++ b/.github/workflows/deploy-snapshot-reusable.yml
@@ -21,8 +21,8 @@ on:
   workflow_call:
     inputs:
       java-version:
-        description: "The Java *compiler* version! (Target is fixed: 8)"
-        required: false
+        description: "The Java *compiler* version. (Target is fixed: 8)"
+        default: 17
         type: string
     secrets:
       NEXUS_USER: