From 552edc8f5bd4c5a2097cf913cba5a542c4310bb6 Mon Sep 17 00:00:00 2001 From: Maryan Hratson Date: Fri, 16 Dec 2022 14:31:15 -0800 Subject: [PATCH] fix tag workflow java version (#389) - fixes GA issue: - https://github.com/linkedin/kafka-monitor/actions/runs/3716497441/jobs/6302894482 ``` Run actions/setup-java@v3 Installed distributions Trying to resolve the latest version from remote Error: Could not find satisfied version for SemVer 1.8. Available versions: 17.0.3, 17.0.1+12.1, 16.0.2+7.1, 11.0.15, 11.0.13+8.1 ``` --- .github/workflows/tag.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index f5f0acd1..e5356484 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -16,10 +16,10 @@ jobs: # bring in all history because the gradle versions plugin needs to "walk back" to the closest ancestor tag # to figure out what version this is. optimizing this is left as a challenge to future committers fetch-depth: 0 - - name: Set up JDK 1.8 + - name: Set up JDK uses: actions/setup-java@v3 with: - java-version: 1.8 + java-version: 11 distribution: microsoft - name: Build with Gradle # add --info or --debug below for more details when trying to understand issues