feat(action): install and cache OpenAPI Generator CLI from JAR#7
Merged
remarkablemark merged 4 commits intomasterfrom Apr 1, 2026
Merged
feat(action): install and cache OpenAPI Generator CLI from JAR#7remarkablemark merged 4 commits intomasterfrom
remarkablemark merged 4 commits intomasterfrom
Conversation
- Replace the npm-based install with a cached JAR download - Set up Java inside the action and preserve the `openapi-generator-cli` wrapper
- add a Python script to fetch the latest OpenAPI Generator CLI version from Maven metadata - update action.yml and README.md with the latest pinned version
- Add a scheduled workflow to update the pinned OpenAPI Generator CLI version - Expose current and latest versions from the Python updater to the workflow - Create and push a version bump branch and open a PR when a new version is available
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 is the motivation for this pull request?
Replace the npm-based OpenAPI Generator install path with a direct JAR-based setup and automate future version updates for the action.
What is the current behavior?
The action installs OpenAPI Generator through npm, version bumps to the pinned default are manual, and there is no scheduled workflow to open update PRs when a new OpenAPI Generator CLI release is available.
What is the new behavior?
The action now installs and caches the OpenAPI Generator CLI JAR directly, sets up Java inside the action, and preserves the openapi-generator-cli command wrapper.
A Python updater script fetches the latest OpenAPI Generator CLI version from Maven metadata and updates
action.ymlplusREADME.md.A scheduled GitHub Actions workflow runs the updater daily, pushes a version-bump branch, and opens a PR when a new version is available.
The repo also ignores Python
__pycache__directories.Checklist: