Skip to content

Add CI workflows for build and release#2

Merged
Xitee1 merged 2 commits into
masterfrom
add-ci-workflows
Apr 26, 2026
Merged

Add CI workflows for build and release#2
Xitee1 merged 2 commits into
masterfrom
add-ci-workflows

Conversation

@Xitee1
Copy link
Copy Markdown
Owner

@Xitee1 Xitee1 commented Apr 25, 2026

Summary

  • build.yml: builds the plugin on every push/PR to master (JDK 21 / temurin, Maven cache) and uploads the produced JAR as an artifact.
  • release.yml: on release-* tags, verifies the tag's version suffix matches pom.xml <version>, builds, then publishes the JAR and auto-generated release notes to a GitHub release.

Mirrors the workflows added to PowerBoard (Xitee1/PowerBoard#73).

Test plan

  • Confirm the Build workflow runs and succeeds on this PR
  • After merge, push a release-1.4 (or matching) tag and confirm the Release workflow attaches the SMP jar to the resulting GitHub release
  • Confirm a tag whose suffix does not match pom.xml <version> fails the version-check step

🤖 Generated with Claude Code

Xitee1 and others added 2 commits April 25, 2026 23:52
- build.yml: builds on push/PR to master, uploads JAR artifact
- release.yml: on release-* tags, verifies tag matches pom.xml version, builds, attaches JAR and release notes to GitHub release

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The legacy papermc.io/repo/repository/maven-public/ host now returns
HTTP 403 Forbidden, so Maven cannot resolve paper-api on a clean cache
(such as a fresh CI runner) and the build fails. Switch to the current
repo.papermc.io/repository/maven-public/ URL, which serves the same
artifacts.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@Xitee1 Xitee1 merged commit 2a51f98 into master Apr 26, 2026
1 check 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