From 250752c67e2855081efd0fc67b014f8f9b8a3544 Mon Sep 17 00:00:00 2001 From: Aparna Jyothi Date: Mon, 28 Jul 2025 18:42:21 +0530 Subject: [PATCH] format and doc update --- .github/workflows/publish-immutable-actions.yml | 2 +- docs/advanced-usage.md | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish-immutable-actions.yml b/.github/workflows/publish-immutable-actions.yml index cb187aea..9f6953ee 100644 --- a/.github/workflows/publish-immutable-actions.yml +++ b/.github/workflows/publish-immutable-actions.yml @@ -4,6 +4,7 @@ on: release: types: [released] workflow_dispatch: + jobs: publish: runs-on: ubuntu-latest @@ -17,5 +18,4 @@ jobs: uses: actions/checkout@v4 - name: Publish id: publish - uses: actions/publish-immutable-action@v0.0.4 diff --git a/docs/advanced-usage.md b/docs/advanced-usage.md index 285703cb..164173f8 100644 --- a/docs/advanced-usage.md +++ b/docs/advanced-usage.md @@ -617,11 +617,10 @@ versions with specified distribution: openjdk64-11.0.2 LTS versions : temurin-21.0.5+11.0.LTS ``` If the file contains multiple versions, only the first one will be recognized. -``` -Note: +***NOTE: In some complex version strings containing multiple version-like segments (e.g., java semeru-openj9-11.0.15+10_openj9-0.32.0), the regular expression may extract the last version segment (0.32.0) instead of the intended main version (11.0.15+10). -Additionally, the regex is designed to support standard semantic versioning (semver) formats +Additionally, Recommended to use supported standard semantic versioning (semver) formats and may not correctly parse non-standard formats such as jetbrains-21b212.1. Users are encouraged to provide clear, semver-compliant version specifications to ensure accurate extraction. -``` +