Commit 302653a
Fix workflow artifact upload paths missing "X" in EssentialsX addon jar names (#6462)
### 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 in
`settings.gradle.kts` are all prefixed with `EssentialsX`, and
`archivesName` is set to `project.name`. The upload globs were missing
the `X`, causing every per-module direct upload to fail to find its
target file.
### Details
**Proposed fix:**
Update all per-module `archive: false` upload step paths in both
`build-pr.yml` and `build-master.yml` to use the correct
`EssentialsX`-prefixed names:
| Before | After |
|---|---|
| `jars/EssentialsAntiBuild-*.jar` | `jars/EssentialsXAntiBuild-*.jar` |
| `jars/EssentialsChat-*.jar` | `jars/EssentialsXChat-*.jar` |
| `jars/EssentialsDiscord-*.jar` | `jars/EssentialsXDiscord-*.jar` |
| `jars/EssentialsDiscordLink-*.jar` |
`jars/EssentialsXDiscordLink-*.jar` |
| `jars/EssentialsGeoIP-*.jar` | `jars/EssentialsXGeoIP-*.jar` |
| `jars/EssentialsProtect-*.jar` | `jars/EssentialsXProtect-*.jar` |
| `jars/EssentialsSpawn-*.jar` | `jars/EssentialsXSpawn-*.jar` |
| `jars/EssentialsXMPP-*.jar` | `jars/EssentialsXXMPP-*.jar` |
The Javadoc `cp` paths in `build-master.yml` reference filesystem
directory names (which don't include `X`) 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.2~~
- ~~CraftBukkit 1.8.8~~
**Demonstration:**
N/A — the incorrect globs would silently produce no artifact (or an
error) for each addon module on every workflow run using `archive:
false`.
<!-- START COPILOT CODING AGENT SUFFIX -->
<!-- START COPILOT ORIGINAL PROMPT -->
<details>
<summary>Original prompt</summary>
>
https://github.blog/changelog/2026-02-26-github-actions-now-supports-uploading-and-downloading-non-zipped-artifacts/
>
> update our workflows to use this rather than zipping (still provide
the zip but also individually upload
</details>
<!-- START COPILOT CODING AGENT TIPS -->
---
✨ Let Copilot coding agent [set things up for
you](https://github.com/EssentialsX/Essentials/issues/new?title=✨+Set+up+Copilot+instructions&body=Configure%20instructions%20for%20this%20repository%20as%20documented%20in%20%5BBest%20practices%20for%20Copilot%20coding%20agent%20in%20your%20repository%5D%28https://gh.io/copilot-coding-agent-tips%29%2E%0A%0A%3COnboard%20this%20repo%3E&assignees=copilot)
— coding agent works faster and does higher quality work when set up for
your repo.
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: JRoy <10731363+JRoy@users.noreply.github.com>1 parent 9d70fdb commit 302653a
2 files changed
+112
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
49 | 103 | | |
50 | 104 | | |
51 | 105 | | |
| |||
67 | 121 | | |
68 | 122 | | |
69 | 123 | | |
70 | | - | |
| 124 | + | |
71 | 125 | | |
72 | 126 | | |
73 | 127 | | |
| |||
85 | 139 | | |
86 | 140 | | |
87 | 141 | | |
88 | | - | |
| 142 | + | |
89 | 143 | | |
90 | 144 | | |
91 | 145 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
0 commit comments