From 23353ed021ab29b2825332d7c4c302cd39b38e97 Mon Sep 17 00:00:00 2001 From: Nicholas Dille Date: Wed, 18 Sep 2024 09:34:09 +0200 Subject: [PATCH] Fixed version --- .github/workflows/openjdk.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/openjdk.yml b/.github/workflows/openjdk.yml index ab3586b..a13946b 100644 --- a/.github/workflows/openjdk.yml +++ b/.github/workflows/openjdk.yml @@ -46,7 +46,8 @@ jobs: VERSION="$( curl --silent --show-error --location --fail \ --url "https://api.github.com/repos/adoptium/temurin${MAJOR_VERSION}-binaries/releases/latest" \ - | jq --raw-output '.tag_name' + | jq --raw-output '.tag_name' \ + | sed 's/^jdk-//' )" echo "### Found version ${VERSION}"