Build on Alpine
Some checks failed
/ build (push) Failing after 4s

This commit is contained in:
Minecon724 2025-01-20 12:04:18 +01:00
parent 6629b5245a
commit 596bcf74f7
Signed by: Minecon724
GPG key ID: 3CCC4D267742C8E8
2 changed files with 8 additions and 12 deletions

View file

@ -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
path: target/tweaks-*.jar

View file

@ -80,10 +80,8 @@
<id>remap-obf</id>
<configuration>
<srgIn>org.spigotmc:minecraft-server:${project.spigot.version}:txt:maps-mojang</srgIn>
<reverse>true</reverse>
<remappedDependencies>org.spigotmc:spigot:${project.spigot.version}:jar:remapped-mojang</remappedDependencies>
<remappedArtifactAttached>true</remappedArtifactAttached>
<remappedClassifierName>remapped-obf-temp-dont-use</remappedClassifierName>
<reverse>true</reverse>
</configuration>
</execution>
<execution>
@ -93,7 +91,6 @@
</goals>
<id>remap-spigot</id>
<configuration>
<inputFile>${project.build.directory}/${project.artifactId}-${project.version}-remapped-obf-temp-dont-use.jar</inputFile>
<srgIn>org.spigotmc:minecraft-server:${project.spigot.version}:csrg:maps-spigot</srgIn>
<remappedDependencies>org.spigotmc:spigot:${project.spigot.version}:jar:remapped-obf</remappedDependencies>
</configuration>