Skip to content

Fix ci 修复CI#3417

Open
QiuShui1012 wants to merge 1 commit intoAnvil-Dev:dev/1.21/1.6from
QiuShui1012:ci/1.21/1.6
Open

Fix ci 修复CI#3417
QiuShui1012 wants to merge 1 commit intoAnvil-Dev:dev/1.21/1.6from
QiuShui1012:ci/1.21/1.6

Conversation

@QiuShui1012
Copy link
Copy Markdown
Contributor

  • 修复了 ci 发布模组时会引用错误的 AnvilLib 的问题

Copilot AI review requested due to automatic review settings April 15, 2026 20:03
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 fixes CI/release publishing metadata so the mod explicitly declares the correct embedded AnvilLib dependency when uploading to Modrinth/CurseForge, and updates datagen to use the standard damage-type tag provider type.

Changes:

  • Switch damage type tag datagen registration to ProviderType.DAMAGE_TYPE_TAGS.
  • Add explicit dependencies metadata to the Modrinth/CurseForge publish steps in both CI and release workflows.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
src/main/java/dev/dubhe/anvilcraft/data/AnvilCraftDatagen.java Uses the built-in DAMAGE_TYPE_TAGS provider type instead of registering a dynamic tag provider.
.github/workflows/release.yml Adds explicit embedded AnvilLib dependency metadata to the publish step.
.github/workflows/ci.yml Adds the same explicit embedded AnvilLib dependency metadata to the snapshot publish step.

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

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