parent
9f78669cbd
commit
10da8cfc54
1 changed files with 3 additions and 3 deletions
|
@ -5,18 +5,18 @@ jobs:
|
||||||
container: debian:sid
|
container: debian:sid
|
||||||
steps:
|
steps:
|
||||||
- name: Prepare for installation
|
- name: Prepare for installation
|
||||||
run: echo ${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}} && apt update
|
run: apt update
|
||||||
- name: Install JDK and other deps
|
- name: Install JDK and other deps
|
||||||
run: apt install --no-install-recommends -y openjdk-21-jdk-headless maven git nodejs curl zstd
|
run: apt install --no-install-recommends -y openjdk-21-jdk-headless maven git nodejs curl zstd
|
||||||
|
|
||||||
- name: Clone repository
|
- name: Clone repository
|
||||||
run: git clone https://git.m724.eu/Minecon724/tweaks724.git .
|
run: git clone -b ${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}} https://git.m724.eu/Minecon724/tweaks724.git .
|
||||||
|
|
||||||
#- name: BuildTools for NMS
|
#- name: BuildTools for NMS
|
||||||
# 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
|
# 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
|
- name: Download NMS
|
||||||
run: pwd && ls && ./tools/download_nms.sh ~
|
run: ./tools/download_nms.sh ~
|
||||||
|
|
||||||
- name: Build for 1.21.1
|
- name: Build for 1.21.1
|
||||||
run: mvn clean package
|
run: mvn clean package
|
||||||
|
|
Loading…
Reference in a new issue