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