Repository navigation
ci: remove devs.beer repository and bump GitHub Actions - #312
Merged
Merged
Conversation
The Build workflow was failing because https://maven.devs.beer/ returns 522 for anything it does not serve. Gradle probes every repository in order, so the three JitPack dependencies (VaultAPI, headdb-api, SCore) were resolved against devs.beer before Gradle ever reached jitpack.io, and the build died on those 522s. beer.devs:itemsadder-api is published to Maven Central, which is already declared, so removing devs.beer leaves every dependency resolvable. Also move the workflow's actions to their current stable majors: actions/checkout v4 -> v7, actions/setup-java v4 -> v6, gradle/actions v3 -> v6, actions/upload-artifact v4 -> v7. Each step between these majors is a Node 24 or ESM migration with no input or behaviour changes for this workflow.
LagClear
self-requested a review
October 6, 2026 00:19
LagClear
approved these changes
Oct 6, 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.
Summary
Fixes the failing Build run on
mainby dropping a repository that is no longer needed, and moves the workflow onto current stable action majors.Root cause of the CI failure
https://maven.devs.beer/was returning HTTP 522 for every request. Gradle walks the repository list in declaration order, anddevs.beersat ahead ofjitpack.io. That meant Gradle sent the three JitPack dependencies todevs.beerfirst and treated the 522 as a hard failure, so the build died before it ever tried JitPack:beer.devs:itemsadder-apiwas the only dependency that neededdevs.beer. It is published to Maven Central, which is already declared, so the repository has no remaining job.The diff
repositories { mavenCentral() maven("https://repo.papermc.io/repository/maven-public/") maven("https://repo.extendedclip.com/content/repositories/placeholderapi/") maven("https://nexus.phoenixdevt.fr/repository/maven-public/") maven("https://repo.momirealms.net/releases/") maven("https://repo.nexomc.com/releases/") maven("https://repo.oraxen.com/releases") - maven("https://maven.devs.beer/") maven("https://jitpack.io") }Action version bumps
actions/checkoutv4v7actions/setup-javav4v6gradle/actions/setup-gradlev3v6actions/upload-artifactv4.3.3v7Each hop between these majors is a Node 24 or ESM migration. No input names, defaults, or step behaviour changed in a way this workflow depends on, so the steps keep working as written:
checkoutv5 through v7: Node 24, then creds to a separate file, then ESM. v7 only blocks fork checkouts onpull_request_targetandworkflow_run, neither of which this workflow uses.setup-javav5 and v6: Node 24, then an ESM packaging change.java-versionanddistributionare unchanged inputs.gradle/actionsv4 removes the deprecatedargumentsparameter (unused here), v5 is Node 24, v6 drops partial config-cache support (this workflow does not enable the config cache).upload-artifactv5 through v7: Node 24, then ESM, then a new opt-inarchive: falseinput for direct file uploads. The defaultname,path, and zip behaviour are unchanged.All four require runner
v2.327.1or newer. GitHub-hostedubuntu-latestrunners already satisfy that.Evidence
Before, from run
36501562468onmain:After, verified locally against an empty
GRADLE_USER_HOME, so every artifact was downloaded fresh with the repository list as committed:beer.devs:itemsadder-api:4.0.18-beta-10resolves from Central, and the fullbuildtask plusshadowJar(what the workflow runs) succeeds:Merge Danger
Door: two-way. Reverting the commit restores the previous repository list and action versions.
Blast Radius: build-only. No plugin source, dependency coordinates, or versions change, so the shaded jar is byte-for-byte the same set of inputs as before.