Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add java-package parameter to action, support jre, jdk, and jdk+fx #27

Merged
merged 3 commits into from
Nov 22, 2019
Merged

Add java-package parameter to action, support jre, jdk, and jdk+fx #27

merged 3 commits into from
Nov 22, 2019

Conversation

giltene
Copy link
Contributor

@giltene giltene commented Nov 3, 2019

This change adds support for multiple Java package types: jre, jdk, and jdk+fx. In addition to the [updated] built-in tests, this change has been tested against a wide range of Java versions and package type combinations that exist on the Zulu community cdn, verifying that existing jdk (default) behavior remains the same, and new package types (jre, jdk+fx) work as well on versions for which they are available in the cdn.

  • Add java-package option to action, support jre, jdk, and jdk+fx (Features/installer #1)

  • Update tests to use 'jdk', 'jre', and 'jdk+fx' java package option, as well as test with invalid package

  • Match extension only at end of line (e.g. ignore .tar.gz.sig files in cdn).

  • Update README.md

  • Update workflow to use 'node-version' instead of deprecated 'version'

* Add java-package parameter to action, support jre, jdk, and jdk+fx (#1)

* Update tests to use 'jdk', 'jre', and 'jdk+fx' javaPackage parameters

* Match extension only at end of line

* Update README.md

* Update workflow to use 'node-version' instead of deprecated 'version'
@giltene
Copy link
Contributor Author

giltene commented Nov 13, 2019

Note that in addition to adding the option to specify jre and jdk-fx packages addressing #18, the change to match extension names only at the end of line fur file name (makes sure to ignore e.g. .tar.gz.sig) addresses the things that have caused #23 , so that .sig files can be safely added to the cdn without breaking actions/setup-java

@konradpabjan konradpabjan self-assigned this Nov 19, 2019
Copy link
Collaborator

@konradpabjan konradpabjan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested it out with all three differed package types. Looks good, just a few small things 👍

action.yml Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@konradpabjan
Copy link
Collaborator

Thanks for getting these changes in! 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants