Skip to content

Default post-install hook #9

@jayvdb

Description

@jayvdb

When I install kscript via sdkman on Windows, I can invoke kscript after I do source "$HOME/.sdkman/bin/sdkman-init.sh"

When using this action, a .zip is dropped into the current directory, and nothing more is done.
https://api.sdkman.io/2/hooks/post/kscript/3.1.0/linux and https://api.sdkman.io/2/hooks/post/kscript/3.1.0/windows have no post-install hook.

I didnt see anything in https://github.com/search?q=org%3Asdkman+kscript&type=code which defines kscript, so I am at a bit of a loss for how sdkman knows how to handle each candidate.

I am guessing the real sdkman has some voodoo which unzips, recognises the bin/ inside, and makes the .jar executable.

It would be great if this github action could replicate the sdk commands post-install voodoo.

Alternatively, could this github action install the sdk cli.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions