tweaks724/.forgejo/workflows/build.yml
Minecon724 2430416915
All checks were successful
/ build (push) Successful in 1m10s
Misc
2025-01-18 18:36:24 +01:00

32 lines
No EOL
886 B
YAML

on: [push]
jobs:
build:
runs-on: docker
container: debian:sid
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: Checkout
uses: https://github.com/actions/checkout@v4
- name: Download NMS
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.3
run: mvn package -Dproject.minecraft.version=1.21.3 -Dproject.nms.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: Upload artifacts
uses: https://github.com/actions/upload-artifact@v3
with:
path: target