Skip to content

Commit

Permalink
Use Java 21 for platform verification workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
laeubi committed Dec 18, 2024
1 parent 968deec commit b5d1f81
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 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@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
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@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
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
10 changes: 7 additions & 3 deletions .github/workflows/verify-platform3.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This workflow will build a "Eclipse Platform Individual Bundles" using the eclipse.platform repository as it contains the largest set of inter-related bundles
# For more information see: https://github.com/eclipse-platform/eclipse.platform
# This workflow will build a "Eclipse Platform SWT Bundles" using the eclipse.platform.swt repository as it contains platform specific codes
# For more information see: https://github.com/eclipse-platform/eclipse.platform.swt/

name: Verify Eclipse Platform SWT Build
concurrency:
Expand Down Expand Up @@ -40,8 +40,8 @@ jobs:
with:
java-version: |
11
21
17
21
distribution: 'temurin'
- name: Cache local Maven repository
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
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 b5d1f81

Please sign in to comment.