From 652a6f5c4dfd60d3de0959ec6e2d03f5679ed3d3 Mon Sep 17 00:00:00 2001 From: Armin Schrenk Date: Fri, 20 Oct 2023 13:42:00 +0200 Subject: [PATCH] use environment variables and update current jdk --- .github/check-jdk-updates.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/check-jdk-updates.yml b/.github/check-jdk-updates.yml index 3e5f6a1b9..68ef4af9f 100644 --- a/.github/check-jdk-updates.yml +++ b/.github/check-jdk-updates.yml @@ -5,7 +5,7 @@ on: - cron: '0 0 1 * *' # run once a month at the first day of month env: - JDK_VERSION: 21.0.0 + JDK_VERSION: '21.0.1+12' JDK_VENDOR: zulu jobs: @@ -17,8 +17,8 @@ jobs: steps: - uses: actions/setup-java@v3 with: - java-version: 21.0.0 - distribution: zulu + java-version: ${{ env.JDK_VERSION }} + distribution: ${{ env.JDK_VENDOR }} check-latest: false - name: Read JAVA_VERSION_DATE and store in env variable id: get-data @@ -35,7 +35,7 @@ jobs: - uses: actions/setup-java@v3 with: java-version: 21 - distribution: zulu + distribution: ${{ env.JDK_VENDOR }} check-latest: true - name: Read JAVA_VERSION_DATE and store in env variable id: get-data