Skip to content

Commit 2a7e7c0

Browse files
committed
build: update latest and unstable target platform
1 parent 8aa40e5 commit 2a7e7c0

4 files changed

Lines changed: 16 additions & 15 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,6 @@ defaults:
5353
shell: bash
5454

5555

56-
env:
57-
JAVA_VERSION: 17
58-
59-
6056
jobs:
6157

6258
###########################################################
@@ -132,6 +128,11 @@ jobs:
132128
# at org.eclipse.urischeme.AutoRegisterSchemeHandlersJob.run(AutoRegisterSchemeHandlersJob.java:85)
133129
sudo apt-get install --no-install-recommends -y xdg-utils
134130
131+
132+
- name: "Set Java Version"
133+
run: echo "JAVA_VERSION=$([[ '${{ matrix.target-platform }}' == 'oldest' ]] && echo 17 || echo 21)" >> $GITHUB_ENV
134+
135+
135136
- name: "Install: JDK ${{ env.JAVA_VERSION }} ☕"
136137
uses: actions/setup-java@v4 # https://github.com/actions/setup-java
137138
with:

target-platforms/latest.target

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<repository location="https://download.eclipse.org/cbi/updates/license"/>
99
</location>
1010

11-
<!-- 4.32 = Eclipse 2024-06 -->
11+
<!-- 4.34 = Eclipse 2024-12 -->
1212

1313
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
1414
<unit id="com.google.gson" version="0.0.0"/>
@@ -21,7 +21,7 @@
2121
<unit id="org.joni.source" version="0.0.0"/>
2222
<unit id="org.snakeyaml.engine" version="0.0.0"/>
2323
<unit id="org.snakeyaml.engine.source" version="0.0.0"/>
24-
<repository location="https://download.eclipse.org/tools/orbit/simrel/orbit-aggregation/2024-06"/>
24+
<repository location="https://download.eclipse.org/tools/orbit/simrel/orbit-aggregation/2024-12"/>
2525
</location>
2626

2727
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
@@ -32,9 +32,9 @@
3232
<unit id="junit-jupiter-api" version="0.0.0"/>
3333
<unit id="org.eclipse.jdt.junit5.runtime" version="0.0.0"/>
3434
<unit id="org.eclipse.ui.trace" version="0.0.0"/>
35-
<repository location="https://download.eclipse.org/eclipse/updates/4.32"/>
35+
<repository location="https://download.eclipse.org/eclipse/updates/4.34"/>
3636
</location>
3737
</locations>
3838

39-
<targetJRE path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17"/>
40-
</target>
39+
<targetJRE path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-21"/>
40+
</target>

target-platforms/oldest.target

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@
4545
</locations>
4646

4747
<targetJRE path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17"/>
48-
</target>
48+
</target>

target-platforms/unstable.target

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<repository location="https://download.eclipse.org/cbi/updates/license"/>
99
</location>
1010

11-
<!-- 4.34 = Eclipse 2024-12 -->
11+
<!-- 4.35 = Eclipse 2025-03 -->
1212

1313
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
1414
<unit id="com.google.gson" version="0.0.0"/>
@@ -21,7 +21,7 @@
2121
<unit id="org.joni.source" version="0.0.0"/>
2222
<unit id="org.snakeyaml.engine" version="0.0.0"/>
2323
<unit id="org.snakeyaml.engine.source" version="0.0.0"/>
24-
<repository location="https://download.eclipse.org/tools/orbit/simrel/orbit-aggregation/2024-12"/>
24+
<repository location="https://download.eclipse.org/tools/orbit/simrel/orbit-aggregation/2025-03"/>
2525
</location>
2626

2727
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
@@ -32,9 +32,9 @@
3232
<unit id="junit-jupiter-api" version="0.0.0"/>
3333
<unit id="org.eclipse.jdt.junit5.runtime" version="0.0.0"/>
3434
<unit id="org.eclipse.ui.trace" version="0.0.0"/>
35-
<repository location="https://download.eclipse.org/eclipse/updates/4.34-I-builds"/>
35+
<repository location="https://download.eclipse.org/eclipse/updates/4.35-I-builds"/>
3636
</location>
3737
</locations>
3838

39-
<targetJRE path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17"/>
40-
</target>
39+
<targetJRE path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-21"/>
40+
</target>

0 commit comments

Comments
 (0)