Skip to content

Commit

Permalink
Use Java 21 for platform verification builds
Browse files Browse the repository at this point in the history
  • Loading branch information
laeubi committed Dec 17, 2024
1 parent 2d74e93 commit 20864cb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/verify-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,9 @@ jobs:
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
with:
java-version: |
8
11
21
17
21
distribution: 'temurin'
- name: Cache local Maven repository
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
Expand All @@ -59,7 +58,7 @@ jobs:
clean install
- name: Run Platform Build
env:
JAVA_HOME: ${{ env.JAVA_HOME_17_X64 }}
JAVA_HOME: ${{ env.JAVA_HOME_21_X64 }}
working-directory: 'aggregator'
run: >-
mvn -U -V -e -B -ntp
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/verify-platform2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:
with:
java-version: |
11
21
17
21
distribution: 'temurin'
- name: Cache local Maven repository
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
Expand All @@ -57,7 +57,7 @@ jobs:
clean install
- name: Run Platform Build
env:
JAVA_HOME: ${{ env.JAVA_HOME_17_X64 }}
JAVA_HOME: ${{ env.JAVA_HOME_21_X64 }}
working-directory: 'platform'
run: >-
xvfb-run mvn
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/verify-platform3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ jobs:
with:
java-version: |
11
21
17
21
distribution: 'temurin'
- name: Cache local Maven repository
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
Expand All @@ -55,6 +55,8 @@ jobs:
with:
maven-version: 3.9.9
- name: Build Tycho
env:
JAVA_HOME: ${{ env.JAVA_HOME_17_X64 }}
working-directory: 'tycho'
run: >-
mvn -U -V -e -B -ntp
Expand All @@ -63,6 +65,8 @@ jobs:
-T1C
clean install
- name: Run Platform SWT Build
env:
JAVA_HOME: ${{ env.JAVA_HOME_21_X64 }}
working-directory: 'swt'
shell: bash
run: >-
Expand Down

0 comments on commit 20864cb

Please sign in to comment.