Skip to content

Commit ebdc8ed

Browse files
committed
Update GitHub Actions Java 25 (ea)
1 parent 96e6145 commit ebdc8ed

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
jobs:
1313
jlink:
1414
env:
15-
JDK_BASE_URL: "https://download.java.net/java/GA/jdk23.0.1/c28985cbf10d4e648e4004050f8781aa/11/GPL/"
15+
JDK_BASE_URL: "https://download.java.net/java/early_access/jdk25/25/GPL/"
1616
build_os: linux
1717
build_arch: x64
1818
build_pkg: tar.gz
@@ -39,8 +39,8 @@ jobs:
3939

4040
- name: Download target OS+Arch JDK
4141
# curl --output /tmp/jdk.tar.gz \
42-
# https://download.java.net/java/GA/jdk23.0.1/c28985cbf10d4e648e4004050f8781aa/11/GPL/openjdk-23.0.1_linux-x64_bin.tar.gz
43-
run: curl --output ${{ runner.temp }}/jdk.${{ matrix.pkg }} ${{ env.JDK_BASE_URL }}/openjdk-23_${{ matrix.os }}-${{ matrix.arch }}_bin.${{ matrix.pkg }}
42+
# https://download.java.net/java/early_access/jdk25/25/GPL/openjdk-25-ea+25_linux-x64_bin.tar.gz
43+
run: curl --output ${{ runner.temp }}/jdk.${{ matrix.pkg }} ${{ env.JDK_BASE_URL }}/openjdk-25-ea+25_${{ matrix.os }}-${{ matrix.arch }}_bin.${{ matrix.pkg }}
4444

4545
# In order to avoid knowing the directory structure within the different target OS+Arch archives,
4646
# using setup-java action to unpack the target OS+Arch archive (probably performs unpack + JAVA_HOME + PATH)
@@ -57,7 +57,7 @@ jobs:
5757

5858
- name: Download build environment JDK
5959
if: ${{ matrix.os != env.build_os || matrix.arch != env.build_arch }}
60-
run: curl --output ${{ runner.temp }}/buildjdk.${{ env.build_pkg }} ${{ env.JDK_BASE_URL }}/openjdk-23_${{ env.build_os }}-${{ env.build_arch }}_bin.${{ env.build_pkg }}
60+
run: curl --output ${{ runner.temp }}/buildjdk.${{ env.build_pkg }} ${{ env.JDK_BASE_URL }}/openjdk-25-ea+25_${{ env.build_os }}-${{ env.build_arch }}_bin.${{ env.build_pkg }}
6161

6262
- uses: actions/setup-java@v4
6363
if: ${{ matrix.os != env.build_os || matrix.arch != env.build_arch }}

0 commit comments

Comments
 (0)