From c01c890af7b2056311acd0fde0f824db357bdb98 Mon Sep 17 00:00:00 2001 From: Nicholas Dille Date: Wed, 18 Sep 2024 09:32:42 +0200 Subject: [PATCH] Added output --- .github/workflows/openjdk.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/openjdk.yml b/.github/workflows/openjdk.yml index 8f7510c..ab3586b 100644 --- a/.github/workflows/openjdk.yml +++ b/.github/workflows/openjdk.yml @@ -41,12 +41,14 @@ jobs: --url "https://api.adoptium.net/v3/info/available_releases" \ | jq --raw-output '.available_releases | max' )" + echo "### Found major version ${MAJOR_VERSION}" 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' )" + echo "### Found version ${VERSION}" echo "version=${VERSION}" >>${GITHUB_OUTPUT} @@ -58,4 +60,4 @@ jobs: name: "openjdk v${{ steps.fetch.outputs.version }}" tag: openjdk/${{ steps.fetch.outputs.version }} draft: false - prerelease: false \ No newline at end of file + prerelease: false