diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml
index fa8e3a7..5afcc3c 100644
--- a/.forgejo/workflows/build.yml
+++ b/.forgejo/workflows/build.yml
@@ -2,10 +2,10 @@ on: [push]
jobs:
build:
runs-on: docker
- container: debian:sid
+ container: eclipse-temurin:21-alpine
steps:
- - name: Install JDK and other deps
- run: apt update && apt install --no-install-recommends -y openjdk-21-jdk-headless maven git nodejs curl zstd
+ - name: Install build dependencies
+ run: apk add nodejs curl tar zstd
- name: Checkout
uses: https://github.com/actions/checkout@v4
@@ -14,19 +14,18 @@ jobs:
run: ./tools/download_nms.sh ~
-
- - name: Build for 1.21.1
- run: mvn package -Dproject.minecraft.version=1.21.1 -Dproject.nms.version=v1_21_R1
+ - name: Build for 1.21.4
+ run: ./mvnw package -Dproject.minecraft.version=1.21.4 -Dproject.craftbukkit.version=v1_21_R3
- name: Build for 1.21.3
- run: mvn package -Dproject.minecraft.version=1.21.3 -Dproject.nms.version=v1_21_R2
+ run: ./mvnw package -Dproject.minecraft.version=1.21.3 -Dproject.craftbukkit.version=v1_21_R2
- - name: Build for 1.21.4
- run: mvn package -Dproject.minecraft.version=1.21.4 -Dproject.nms.version=v1_21_R3
+ - name: Build for 1.21.1
+ run: ./mvnw package -Dproject.minecraft.version=1.21.1 -Dproject.craftbukkit.version=v1_21_R1
- name: Upload artifacts
uses: https://github.com/actions/upload-artifact@v3
with:
- path: target
\ No newline at end of file
+ path: target/tweaks-*.jar
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 9d20389..cce77e1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -80,10 +80,8 @@
remap-obf
org.spigotmc:minecraft-server:${project.spigot.version}:txt:maps-mojang
- true
org.spigotmc:spigot:${project.spigot.version}:jar:remapped-mojang
- true
- remapped-obf-temp-dont-use
+ true
@@ -93,7 +91,6 @@
remap-spigot
- ${project.build.directory}/${project.artifactId}-${project.version}-remapped-obf-temp-dont-use.jar
org.spigotmc:minecraft-server:${project.spigot.version}:csrg:maps-spigot
org.spigotmc:spigot:${project.spigot.version}:jar:remapped-obf
diff --git a/tools/download_nms.sh b/tools/download_nms.sh
index c22aac4..95a44be 100755
--- a/tools/download_nms.sh
+++ b/tools/download_nms.sh
@@ -1,7 +1,7 @@
-#!/bin/bash
+#!/bin/sh
#
-# Copyright (C) 2024 Minecon724
+# Copyright (C) 2025 Minecon724
# Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file
# in the project root for the full license text.
#