Skip to content
This repository was archived by the owner on Sep 23, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/scripts/plugin-artifact.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ def validate(source, version):
target = Path.cwd().resolve() / "target"
if not source.is_relative_to(target) or not source.is_file():
raise ValueError("Expected the Maven runtime JAR inside target/")
if not source.name.endswith(f"-{version}.jar"):
raise ValueError("Runtime JAR filename must end with the Maven version")
if not re.fullmatch(r"[a-z][a-z0-9]*-" + re.escape(version) + r"\.jar", source.name):
raise ValueError("Runtime JAR filename must use a lowercase alphanumeric name followed by the Maven version")
with zipfile.ZipFile(source) as jar:
descriptors = {"plugin.yml", "paper-plugin.yml"}.intersection(jar.namelist())
if not descriptors:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
distribution: temurin
java-version: '21'
- name: Install shared plugin dependencies
uses: TF-Minecraft/TLibs/.github/actions/setup-plugins@c19d797eb3565838790089af59e5e5028fc56576
uses: TF-Minecraft/TLibs/.github/actions/setup-plugins@4f7a3545063cb2e8d06a034687c817ab863f0835
with:
mode: pinned

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/maven-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
[[ "${TAG^^}" != *SNAPSHOT* ]] || exit 1

- name: Install shared plugin dependencies
uses: TF-Minecraft/TLibs/.github/actions/setup-plugins@c19d797eb3565838790089af59e5e5028fc56576
uses: TF-Minecraft/TLibs/.github/actions/setup-plugins@4f7a3545063cb2e8d06a034687c817ab863f0835
with:
mode: pinned

Expand Down