From 9506e9074780e0977d8c9a0f7f429583418e5847 Mon Sep 17 00:00:00 2001 From: christian <153755613+skateball@users.noreply.github.com> Date: Thu, 12 Dec 2024 12:33:48 +0100 Subject: [PATCH 1/4] un-schedule main e2e-versions.yml to schedule the file in branch: gha --- .github/workflows/e2e-versions.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/e2e-versions.yml b/.github/workflows/e2e-versions.yml index d80b1c07..03a10888 100644 --- a/.github/workflows/e2e-versions.yml +++ b/.github/workflows/e2e-versions.yml @@ -3,7 +3,6 @@ name: Validate Java e2e on: push: branches: - - main - releases/* paths-ignore: - '**.md' @@ -11,7 +10,7 @@ on: paths-ignore: - '**.md' schedule: - - cron: '0 */12 * * *' + - cron: '0 */12 * * 1' workflow_dispatch: jobs: setup-java-major-versions: From 3873ac9aee24eab840a007b4c6ed626e9c89557a Mon Sep 17 00:00:00 2001 From: skateball Date: Tue, 11 Feb 2025 21:52:54 +0100 Subject: [PATCH 2/4] issue725-ReadMeSupportedVersionSyntax updated --- README.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 8e892f50..66e4b13d 100644 --- a/README.md +++ b/README.md @@ -88,12 +88,6 @@ steps: - run: java HelloWorldApp.java ``` -#### Supported version syntax -The `java-version` input supports an exact version or a version range using [SemVer](https://semver.org/) notation: -- major versions: `8`, `11`, `16`, `17`, `21` -- more specific versions: `8.0.282+8`, `8.0.232`, `11.0`, `11.0.4`, `17.0` -- early access (EA) versions: `15-ea`, `15.0.0-ea` - #### Supported distributions Currently, the following distributions are supported: | Keyword | Distribution | Official site | License @@ -112,8 +106,16 @@ Currently, the following distributions are supported: | `graalvm` | Oracle GraalVM | [Link](https://www.graalvm.org/) | [Link](https://www.oracle.com/downloads/licenses/graal-free-license.html) | `jetbrains` | JetBrains Runtime | [Link](https://github.com/JetBrains/JetBrainsRuntime/) | [Link](https://github.com/JetBrains/JetBrainsRuntime/blob/main/LICENSE) +#### Supported version syntax +The `java-version` input supports an exact version or a version range using [SemVer](https://semver.org/) notation: +- major versions: `8`, `11`, `17`, `21`, `23` +- more specific versions: `8.0.432+6`, `8.0.442`, `11.0.26`, `17.0`, `21.0`, `21.0.6` +- early access (EA) versions: `24-ea`, `25-ea`, `25.0.0-ea` + **NOTE:** The different distributors can provide discrepant list of available versions / supported configurations. Please refer to the official documentation to see the list of supported versions. +**NOTE:** Upon release by the distributor, newer Java versions are automatically made available, and this process does not require updates to the setup-java configuration. However, the availability of 'more specific versions' may differ among various distributors. When configuring these 'more specific versions,' it is the user's responsibility to ensure that the configuration is updated to maintain security. + **NOTE:** AdoptOpenJDK got moved to Eclipse Temurin and won't be updated anymore. It is highly recommended to migrate workflows from `adopt` and `adopt-openj9`, to `temurin` and `semeru` respectively, to keep receiving software and security updates. See more details in the [Good-bye AdoptOpenJDK post](https://blog.adoptopenjdk.net/2021/08/goodbye-adoptopenjdk-hello-adoptium/). **NOTE:** For Azul Zulu OpenJDK architectures x64 and arm64 are mapped to x86 / arm with proper hw_bitness. From 85f42bb7876de57c480f06aa53ad645d4b7e98a8 Mon Sep 17 00:00:00 2001 From: skateball Date: Thu, 13 Feb 2025 12:52:36 +0100 Subject: [PATCH 3/4] revert cron in e2e-versions --- .github/workflows/e2e-versions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/e2e-versions.yml b/.github/workflows/e2e-versions.yml index 172c3e1a..1b4b7eaa 100644 --- a/.github/workflows/e2e-versions.yml +++ b/.github/workflows/e2e-versions.yml @@ -10,7 +10,7 @@ on: paths-ignore: - '**.md' schedule: - - cron: '0 */12 * * 1' + - cron: '0 */12 * * *' workflow_dispatch: jobs: setup-java-major-versions: From 744367cfdc785c9f2e2934ea787536bfb8b8c224 Mon Sep 17 00:00:00 2001 From: skateball Date: Thu, 13 Feb 2025 12:59:56 +0100 Subject: [PATCH 4/4] revert removal from branches main --- .github/workflows/e2e-versions.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/e2e-versions.yml b/.github/workflows/e2e-versions.yml index 1b4b7eaa..d0476606 100644 --- a/.github/workflows/e2e-versions.yml +++ b/.github/workflows/e2e-versions.yml @@ -3,6 +3,7 @@ name: Validate Java e2e on: push: branches: + - main - releases/* paths-ignore: - '**.md'