Skip to content

Commit

Permalink
chore(CI): updated jdk install actions. (#1629)
Browse files Browse the repository at this point in the history
  • Loading branch information
valdar authored May 8, 2024
1 parent 38888af commit dc500e5
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 10 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/asf-snapshots-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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} \
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/automatic-sync-camel-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '11' ]
java: [ '17' ]
steps:
- name: Checkout Camel project
uses: actions/[email protected]
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/daily-java-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/maven-it.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit dc500e5

Please sign in to comment.