Fix workflow artifact upload paths missing "X" in EssentialsX addon jar names#6462
Merged
Fix workflow artifact upload paths missing "X" in EssentialsX addon jar names#6462
Conversation
…ividual jar uploads Co-authored-by: JRoy <10731363+JRoy@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update workflows to support non-zipped artifact uploads
Use upload-artifact@v7 for non-zipped individual jar artifacts
Mar 9, 2026
Copilot
AI
changed the title
Use upload-artifact@v7 for non-zipped individual jar artifacts
Use upload-artifact@v7 for non-zipped per-jar artifact uploads
Mar 9, 2026
JRoy
approved these changes
Mar 9, 2026
Co-authored-by: JRoy <10731363+JRoy@users.noreply.github.com>
Copilot
AI
changed the title
Use upload-artifact@v7 for non-zipped per-jar artifact uploads
Fix workflow artifact upload paths missing "X" in EssentialsX addon jar names
Mar 9, 2026
mdcfe
approved these changes
Mar 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Information
Workflow artifact upload steps referenced incorrect jar filenames — all addon jars are built as
EssentialsX{Addon}-*.jar(e.g.EssentialsXChat,EssentialsXProtect) because project names insettings.gradle.ktsare all prefixed withEssentialsX, andarchivesNameis set toproject.name. The upload globs were missing theX, causing every per-module direct upload to fail to find its target file.Details
Proposed fix:
Update all per-module
archive: falseupload step paths in bothbuild-pr.ymlandbuild-master.ymlto use the correctEssentialsX-prefixed names:jars/EssentialsAntiBuild-*.jarjars/EssentialsXAntiBuild-*.jarjars/EssentialsChat-*.jarjars/EssentialsXChat-*.jarjars/EssentialsDiscord-*.jarjars/EssentialsXDiscord-*.jarjars/EssentialsDiscordLink-*.jarjars/EssentialsXDiscordLink-*.jarjars/EssentialsGeoIP-*.jarjars/EssentialsXGeoIP-*.jarjars/EssentialsProtect-*.jarjars/EssentialsXProtect-*.jarjars/EssentialsSpawn-*.jarjars/EssentialsXSpawn-*.jarjars/EssentialsXMPP-*.jarjars/EssentialsXXMPP-*.jarThe Javadoc
cppaths inbuild-master.ymlreference filesystem directory names (which don't includeX) and remain correct as-is.Environments tested:
OS: N/A (CI workflow change only)
Java version: N/A
Most recent Paper version (1.XX.Y, git-Paper-BUILD)CraftBukkit/Spigot/Paper 1.12.2CraftBukkit 1.8.8Demonstration:
N/A — the incorrect globs would silently produce no artifact (or an error) for each addon module on every workflow run using
archive: false.Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.