This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git
The following commit(s) were added to refs/heads/main by this push:
new dc500e531d chore(CI): updated jdk install actions. (#1629)
dc500e531d is described below
commit dc500e531dc15981a04cf1c07d9ecda035f3b430
Author: Andrea Tarocchi <[email protected]>
AuthorDate: Wed May 8 19:27:14 2024 +0200
chore(CI): updated jdk install actions. (#1629)
---
.github/workflows/asf-snapshots-deploy.yml | 10 ++++++----
.github/workflows/automatic-sync-camel-main.yml | 7 ++++---
.github/workflows/ci-build.yml | 2 +-
.github/workflows/daily-java-next.yml | 2 +-
.github/workflows/maven-it.yaml | 2 +-
5 files changed, 13 insertions(+), 10 deletions(-)
diff --git a/.github/workflows/asf-snapshots-deploy.yml
b/.github/workflows/asf-snapshots-deploy.yml
index be1695043f..24d2a75aad 100644
--- a/.github/workflows/asf-snapshots-deploy.yml
+++ b/.github/workflows/asf-snapshots-deploy.yml
@@ -34,9 +34,10 @@ jobs:
steps:
- uses: actions/[email protected]
- name: Set up JDK ${{ matrix.java }}
- uses: AdoptOpenJDK/[email protected]
+ uses: actions/[email protected]
with:
- version: ${{ matrix.java }}
+ distribution: 'temurin'
+ java-version: ${{ matrix.java }}
- name: Cache Maven Repository
uses: actions/cache@v4
with:
@@ -57,9 +58,10 @@ jobs:
steps:
- uses: actions/[email protected]
- name: Set up JDK ${{ matrix.java }}
- uses: AdoptOpenJDK/[email protected]
+ uses: actions/[email protected]
with:
- version: ${{ matrix.java }}
+ distribution: 'temurin'
+ java-version: ${{ matrix.java }}
- name: Deploy to ASF Snapshots Repository
run: |
./mvnw ${MAVEN_ARGS} \
diff --git a/.github/workflows/automatic-sync-camel-main.yml
b/.github/workflows/automatic-sync-camel-main.yml
index aecbc421b0..6cce6358c3 100644
--- a/.github/workflows/automatic-sync-camel-main.yml
+++ b/.github/workflows/automatic-sync-camel-main.yml
@@ -31,7 +31,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
- java: [ '11' ]
+ java: [ '17' ]
steps:
- name: Checkout Camel project
uses: actions/[email protected]
@@ -40,9 +40,10 @@ jobs:
ref: main
path: camel
- name: Set up JDK ${{ matrix.java }}
- uses: AdoptOpenJDK/install-jdk@v1
+ uses: actions/[email protected]
with:
- version: ${{ matrix.java }}
+ distribution: 'temurin'
+ java-version: ${{ matrix.java }}
- name: Cache local Maven repository
uses: actions/cache@v4
with:
diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml
index f4382cdc82..faf6a16565 100644
--- a/.github/workflows/ci-build.yml
+++ b/.github/workflows/ci-build.yml
@@ -43,7 +43,7 @@ jobs:
steps:
- uses: actions/[email protected]
- name: Set up JDK ${{ matrix.java }}
- uses: actions/setup-java@v4
+ uses: actions/[email protected]
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
diff --git a/.github/workflows/daily-java-next.yml
b/.github/workflows/daily-java-next.yml
index e0f5220e09..b88adcfecb 100644
--- a/.github/workflows/daily-java-next.yml
+++ b/.github/workflows/daily-java-next.yml
@@ -35,7 +35,7 @@ jobs:
steps:
- uses: actions/[email protected]
- name: Set up JDK ${{ matrix.java }}
- uses: actions/setup-java@v4
+ uses: actions/[email protected]
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
diff --git a/.github/workflows/maven-it.yaml b/.github/workflows/maven-it.yaml
index 9818a2d9f2..fc1a5b7ce2 100644
--- a/.github/workflows/maven-it.yaml
+++ b/.github/workflows/maven-it.yaml
@@ -43,7 +43,7 @@ jobs:
steps:
- uses: actions/[email protected]
- name: Set up JDK ${{ matrix.java }}
- uses: actions/setup-java@v4
+ uses: actions/[email protected]
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}