From 9f78669cbde9cbbef6c3ab1ee630e51753c3569a Mon Sep 17 00:00:00 2001 From: Minecon724 Date: Sat, 28 Dec 2024 15:16:40 +0100 Subject: [PATCH] Try that --- .forgejo/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index 1fd8c6e..4647ecd 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -5,7 +5,7 @@ jobs: container: debian:sid steps: - name: Prepare for installation - run: apt update + run: echo ${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}} && apt update - name: Install JDK and other deps run: apt install --no-install-recommends -y openjdk-21-jdk-headless maven git nodejs curl zstd @@ -16,7 +16,7 @@ jobs: # run: mkdir /tmp/buildtools && cd /tmp/buildtools && curl -O https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar && java -jar BuildTools.jar --rev 1.21.1 --remapped && cd - name: Download NMS - run: echo ${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/} && pwd && ls && ./tools/download_nms.sh ~ + run: pwd && ls && ./tools/download_nms.sh ~ - name: Build for 1.21.1 run: mvn clean package