From 46b106a72589e714acd005bf824c9de176da9cce Mon Sep 17 00:00:00 2001 From: Sravan Thotakura <83568543+SravanThotakura05@users.noreply.github.com> Date: Tue, 29 Oct 2024 13:19:08 +0530 Subject: [PATCH] Upgrade Java Version in Release and Publish Docs workflow (#79) --- .github/workflows/publish-docs.yml | 9 +++++++++ .github/workflows/quarkus-snapshot.yaml | 2 +- .github/workflows/release.yml | 4 ++-- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 6904085..265a503 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -27,6 +27,15 @@ jobs: - name: Configure Pages id: pages uses: actions/configure-pages@v3 + - name: Set up JDK 17 + uses: actions/setup-java@v3 + with: + distribution: temurin + java-version: 17 + cache: 'maven' + server-id: github + gpg-passphrase: GPG_PASSPHRASE + gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} - name: Generate Site run: mvn clean install -DskipTests - name: Upload Artifacts diff --git a/.github/workflows/quarkus-snapshot.yaml b/.github/workflows/quarkus-snapshot.yaml index ad9077d..ed0d4fa 100644 --- a/.github/workflows/quarkus-snapshot.yaml +++ b/.github/workflows/quarkus-snapshot.yaml @@ -10,7 +10,7 @@ on: env: ECOSYSTEM_CI_REPO: quarkusio/quarkus-ecosystem-ci ECOSYSTEM_CI_REPO_FILE: context.yaml - JAVA_VERSION: 11 + JAVA_VERSION: 17 ######################### # Repo specific setting # diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8168ffe..f1c0ca7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,11 +39,11 @@ jobs: gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} passphrase: ${{ secrets.GPG_SECRET }} - - name: Set up JDK 11 + - name: Set up JDK 17 uses: actions/setup-java@v3 with: distribution: temurin - java-version: 11 + java-version: 17 cache: 'maven' server-id: github gpg-passphrase: GPG_PASSPHRASE