Skip to content

chore: Update CI/CD workflows for dual-version (v1/v2) support#227

Merged
tanya732 merged 42 commits into
v2from
chore/update-gh-workflow
May 19, 2026
Merged

chore: Update CI/CD workflows for dual-version (v1/v2) support#227
tanya732 merged 42 commits into
v2from
chore/update-gh-workflow

Conversation

@tanya732
Copy link
Copy Markdown
Contributor

@tanya732 tanya732 commented May 19, 2026

Summary

  • Update all GitHub workflows (build-and-test, release, codeql, sca_scan) to use branch-conditional Java version: Java 8 for v1 branch, Java 17 for master/java-mvc-v2
  • Add v1 and java-mvc-v2 to branch triggers across all workflows
  • Bump .version to 2.0.0-beta.0
  • Add setup-java step to CodeQL workflow for reliable autobuild

Changes

  • Branch-conditional Java version using:
    ${{ (github.ref == 'refs/heads/v1' || github.base_ref == 'v1') && '8' || '17' }}
  • Branch triggers updated to ["master", "v1", "java-mvc-v2"] for push and PR events
  • Version bump .version: 1.12.0 → 2.0.0-beta.0

@tanya732 tanya732 requested a review from a team as a code owner May 19, 2026 03:24
Base automatically changed from java-mvc-v2 to v2 May 19, 2026 03:52
@tanya732 tanya732 merged commit cd48c86 into v2 May 19, 2026
4 checks passed
@tanya732 tanya732 deleted the chore/update-gh-workflow branch May 19, 2026 04:07
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.

4 participants