-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(CI): updated jdk install actions. (#1629)
- Loading branch information
Showing
5 changed files
with
13 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,9 +34,10 @@ jobs: | |
steps: | ||
- uses: actions/[email protected] | ||
- name: Set up JDK ${{ matrix.java }} | ||
uses: AdoptOpenJDK/[email protected].1 | ||
uses: actions/[email protected].1 | ||
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].1 | ||
uses: actions/[email protected].1 | ||
with: | ||
version: ${{ matrix.java }} | ||
distribution: 'temurin' | ||
java-version: ${{ matrix.java }} | ||
- name: Deploy to ASF Snapshots Repository | ||
run: | | ||
./mvnw ${MAVEN_ARGS} \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,7 +43,7 @@ jobs: | |
steps: | ||
- uses: actions/[email protected] | ||
- name: Set up JDK ${{ matrix.java }} | ||
uses: actions/setup-java@v4 | ||
uses: actions/setup-java@v4.2.1 | ||
with: | ||
distribution: 'temurin' | ||
java-version: ${{ matrix.java }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,7 @@ jobs: | |
steps: | ||
- uses: actions/[email protected] | ||
- name: Set up JDK ${{ matrix.java }} | ||
uses: actions/setup-java@v4 | ||
uses: actions/setup-java@v4.2.1 | ||
with: | ||
distribution: 'temurin' | ||
java-version: ${{ matrix.java }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,7 +43,7 @@ jobs: | |
steps: | ||
- uses: actions/[email protected] | ||
- name: Set up JDK ${{ matrix.java }} | ||
uses: actions/setup-java@v4 | ||
uses: actions/setup-java@v4.2.1 | ||
with: | ||
distribution: 'temurin' | ||
java-version: ${{ matrix.java }} | ||
|