tweaks724/.forgejo/workflows/build.yml
Minecon724 596bcf74f7
Some checks failed
/ build (push) Failing after 4s
Build on Alpine
2025-01-20 12:04:18 +01:00

31 lines
No EOL
864 B
YAML

on: [push]
jobs:
build:
runs-on: docker
container: eclipse-temurin:21-alpine
steps:
- name: Install build dependencies
run: apk add git node curl
- name: Checkout
uses: https://github.com/actions/checkout@v4
- name: Download NMS
run: ./tools/download_nms.sh ~
- name: Build for 1.21.4
run: ./mvnw package -Dproject.minecraft.version=1.21.4 -Dproject.craftbukkit.version=v1_21_R3
- name: Build for 1.21.3
run: ./mvnw package -Dproject.minecraft.version=1.21.3 -Dproject.craftbukkit.version=v1_21_R2
- name: Build for 1.21.1
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/tweaks-*.jar