tweaks724/.forgejo/workflows/build.yml
Minecon724 6629b5245a
All checks were successful
/ build (push) Successful in 1m6s
Update workflow
2025-01-20 11:55:07 +01:00

32 lines
No EOL
910 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.4
run: mvn 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
- name: Build for 1.21.1
run: mvn 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