Skip to content

ci: add Javadoc deployment to GitHub Pages and update README badges - #37

Merged
fupacat merged 2 commits into
masterfrom
ci/javadoc-github-pages
Oct 12, 2026
Merged

fupacat merged 2 commits into
masterfrom
ci/javadoc-github-pages

Conversation

@fupacat

@fupacat fupacat commented Oct 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add .github/workflows/javadoc-pages.yml to build and publish tsql-scriptdom-core Javadocs (target/apidocs) to GitHub Pages (https://fupacat.github.io/tsql-scriptdom-java/) on pushes to master, release tags, published releases, or manual dispatch.
  • Add Javadoc and latest Release badges to README.md and update Maven/Gradle dependency snippets to 0.1.1.

Copilot AI balanced review requested due to automatic review settings October 12, 2026 22:20
@fupacat
fupacat enabled auto-merge (squash) October 12, 2026 22:23

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The README version bump is incomplete—the Standalone CLI Usage examples still reference tsql-scriptdom-core-0.1.0-SNAPSHOT.jar, leaving the documentation internally inconsistent with the 0.1.1 release.

1 open finding
What changed in this PR

This PR adds continuous publishing of the tsql-scriptdom-core API documentation to GitHub Pages and refreshes the README to reflect the released 0.1.1 artifact. It complements the existing release pipeline (release.yml) by hosting browsable Javadoc at https://fupacat.github.io/tsql-scriptdom-java/, reusing the same mvn package -P release build that the release workflow already relies on. The workflow correctly sets up Python before Maven (required by the generate_parser.py source generation step) and uploads the Javadoc from tsql-scriptdom-core/target/apidocs, which is where the release profile's maven-javadoc-plugin writes its HTML output.

Changes:

  • New javadoc-pages.yml workflow builds Javadoc and deploys it to GitHub Pages on pushes to master, v*.*.* tags, published releases, and manual dispatch, using the standard Pages actions and the recommended pages concurrency group.
  • README swaps the stale "Maven Central – Snapshot" badge for Release and Javadoc badges.
  • README dependency snippets (Maven/Gradle) bumped from 0.1.0-SNAPSHOT to 0.1.1.
File Description
.github/​workflows/​javadoc-pages.yml New workflow building target/apidocs and deploying it to GitHub Pages; triggers, permissions, action versions, and build command are consistent with existing workflows.
README.md Adds Release/Javadoc badges and bumps dependency version to 0.1.1; CLI usage examples still reference the old 0.1.0-SNAPSHOT jar name.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread README.md
<groupId>io.github.fupacat</groupId>
<artifactId>tsql-scriptdom-core</artifactId>
<version>0.1.0-SNAPSHOT</version>
<version>0.1.1</version>
@fupacat
fupacat merged commit 3f624d2 into master Oct 12, 2026
5 checks passed
Copilot AI balanced review requested due to automatic review settings October 12, 2026 22:26
@fupacat
fupacat deleted the ci/javadoc-github-pages branch October 12, 2026 22:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

It introduces a GitHub Pages deployment workflow and auto-merge/CI automation changes whose runtime success depends on repository Pages and token settings that cannot be verified from the diff, warranting human confirmation.

1 open finding

🧠 Review effort: Balanced

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