Skip to content

Add CI and release GitHub workflows#1

Merged
kevinwang1975 merged 1 commit into
masterfrom
add-github-workflows
May 17, 2026
Merged

Add CI and release GitHub workflows#1
kevinwang1975 merged 1 commit into
masterfrom
add-github-workflows

Conversation

@kevinwang1975
Copy link
Copy Markdown
Owner

Summary

  • CI workflow (.github/workflows/ci.yml): runs mvn verify on every push, every PR, and weekly (Monday 06:00 UTC). Uses Java 8 (temurin) with Maven caching.
  • Release workflow (.github/workflows/release.yml): manually triggered via workflow_dispatch. Reads the version from pom.xml, prepends v (e.g. v1.0.0), checks that neither the tag nor the release already exists (fails if either does), then builds, tags, pushes the tag, and creates a GitHub release with the built JAR attached.

Details

  • Both workflows use actions/checkout@v4 and actions/setup-java@v4 (temurin, Java 8, cached Maven deps).
  • CI runs on all branches (push + pull_request with no branch filter).
  • Release creates a v<version> tag and release, generating release notes from merged commits.

@kevinwang1975 kevinwang1975 merged commit 1a4e690 into master May 17, 2026
2 checks passed
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.

1 participant