You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pp...@apache.org on 2021/11/12 10:14:44 UTC

[camel-quarkus-examples] 02/04: Use temurin JDK distro as per the main project

This is an automated email from the ASF dual-hosted git repository.

ppalaga pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus-examples.git

commit 9d37bfa083850b3166fe0922856fc3a446221fa7
Author: James Netherton <ja...@gmail.com>
AuthorDate: Mon Oct 25 09:20:32 2021 +0100

    Use temurin JDK distro as per the main project
---
 .github/workflows/ci-build.yaml | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml
index 90b071c..6fbb4f9 100644
--- a/.github/workflows/ci-build.yaml
+++ b/.github/workflows/ci-build.yaml
@@ -57,9 +57,10 @@ jobs:
       matrix: ${{ steps.set-itest-matrix.outputs.matrix }}
     steps:
       - name: Set up JDK 11
-        uses: AdoptOpenJDK/install-jdk@v1
+        uses: actions/setup-java@v2
         with:
-          version: '11'
+          distribution: 'temurin'
+          java-version: '11'
       - name: Checkout
         uses: actions/checkout@v2
       - name: Build Camel Quarkus
@@ -126,9 +127,10 @@ jobs:
       - name: Checkout
         uses: actions/checkout@v2
       - name: Set up JDK 11
-        uses: AdoptOpenJDK/install-jdk@v1
+        uses: actions/setup-java@v2
         with:
-          version: '11'
+          distribution: 'temurin'
+          java-version: '11'
       - name: Download Maven Repo
         uses: actions/download-artifact@v2
         with: