Integrated: 8315062: [GHA] get-bootjdk action should return the abolute path

Xin Liu xliu at openjdk.org
Mon Aug 28 16:02:18 UTC 2023


On Fri, 25 Aug 2023 22:32:13 GMT, Xin Liu <xliu at openjdk.org> wrote:

> We are running hotspot:tier2 on github action(GHA). I have difficulty to execute this test on GHA:
> Runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchiveUpgrade.java 
> 
> In GHA, the java property is gained from environment variable BOOT_JDK.
> BOOT_JDK=${{ steps.bootjdk.outputs.path }}
> 
> it is in turn from action get-bootjdk. now it returns a relative path. The aforementioned test has trouble to find the executable if the path relative.
> I would recommend changing the action get-bootjdk. we just return the absolute path.

This pull request has now been integrated.

Changeset: 99ea8bf2
Author:    Xin Liu <xliu at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/99ea8bf2b962011e57d02a93217d65d7259e8f80
Stats:     3 lines in 1 file changed: 0 ins; 0 del; 3 mod

8315062: [GHA] get-bootjdk action should return the abolute path

Reviewed-by: clanger, erikj

-------------

PR: https://git.openjdk.org/jdk/pull/15435


More information about the build-dev mailing list