Skip to content

ci: new build work flow#125

Merged
lonelyicer merged 2 commits intomainfrom
ci/refactor
Apr 8, 2026
Merged

ci: new build work flow#125
lonelyicer merged 2 commits intomainfrom
ci/refactor

Conversation

@lonelyicer
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings April 8, 2026 02:39
@github-actions github-actions bot added the ci ci label Apr 8, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the build/CI pipeline to produce more informative artifacts and embed build metadata (version + git hash) into the mod at runtime.

Changes:

  • Adds build-time metadata generation (version + git commit) and logs it during mod initialization.
  • Refactors build.gradle to append git hash to dev build archive versions and enrich JAR manifests.
  • Simplifies the CI build workflow artifact naming/collection (no manual JAR renaming).

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/main/resources/META-INF/neoforge.mods.toml Formatting/cleanup of mod metadata entries.
src/main/java/com/altnoir/mia/MIA.java Logs build info on initialization; adds MOD_NAME.
src/main/java-templates/com/altnoir/mia/MiaBuildInfo.java.peb New generated build info class template.
gradle.properties Updates NeoForge version and adjusts Minecraft version range.
build.gradle Adds Blossom + publishing-related plugins; versioning via git hash; manifest enrichment; sources/javadoc jars.
.github/workflows/ci-build.yml Removes manual version mutation/JAR rename; derives artifact naming from repo properties + git hash.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 8, 2026

Game Test Results

✅ Success

Metric Value
Total Tests 1
Passed 1
Failed 0
Duration 636.2 ms

Workflow run: #425

@lonelyicer lonelyicer merged commit 6326ad6 into main Apr 8, 2026
3 checks passed
@lonelyicer lonelyicer deleted the ci/refactor branch April 8, 2026 03:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci ci

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants