RFR: 8315062: [GHA] get-bootjdk action should return the abolute path
Christoph Langer
clanger at openjdk.org
Mon Aug 28 09:10:11 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.
LGTM
-------------
Marked as reviewed by clanger (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/15435#pullrequestreview-1597867929
More information about the build-dev
mailing list