Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?:
This PR adds a new workflow to generate, build, and publish java models. The maven publication targets the GitHub packages at the moment, the artifact name is
io.devfile:api-model:2.2.0-alpha
. I have altered thegenerate.sh
so that it supports bothtypescript
andjava
now. That potentially can break the typescript-models workflow, though I have run the workflow in my fork and it looked good for all steps before the actual yarn publication (theNPM_TOKEN
is missing in my fork).Updated the README.md to reflect the fact that the
generate.sh
script can be used for both typescript and java.Shouldn't impact existing clients.
How to test changes / Special notes to the reviewer:
I've updated the workflows, so they should be run to verify their correctness.