diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index 6775b20..b464646 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 git node curl - name: Checkout uses: https://github.com/actions/checkout@v4 @@ -14,19 +14,18 @@ jobs: run: ./tools/download_nms.sh ~ - - name: Build for 1.21.4 - run: mvn package -Dproject.minecraft.version=1.21.4 -Dproject.craftbukkit.version=v1_21_R3 + 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.craftbukkit.version=v1_21_R2 + run: ./mvnw package -Dproject.minecraft.version=1.21.3 -Dproject.craftbukkit.version=v1_21_R2 - name: Build for 1.21.1 - run: mvn package -Dproject.minecraft.version=1.21.1 -Dproject.craftbukkit.version=v1_21_R1 + 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