mirror of
https://github.com/BX-Team/DivineMC.git
synced 2025-12-26 18:29:18 +00:00
Upstream has released updates that appear to apply and compile correctly Purpur Changes: PurpurMC/Purpur@fc89fde5 Updated Upstream (Paper)
37 lines
948 B
YAML
37 lines
948 B
YAML
name: Build Pull Request
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [ "ver/1.21.10" ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: blacksmith-8vcpu-ubuntu-2204
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v5
|
|
|
|
- name: Setup JDK 21
|
|
uses: useblacksmith/setup-java@v5
|
|
with:
|
|
distribution: temurin
|
|
java-version: 21
|
|
|
|
- name: Configure Git and Gradle
|
|
run: |
|
|
git config --global user.email "no-reply@github.com"
|
|
git config --global user.name "Github Actions"
|
|
chmod +x gradlew
|
|
|
|
- name: Apply Patches
|
|
run: ./gradlew applyAllPatches --stacktrace --no-daemon
|
|
|
|
- name: Build Paperclip Jar
|
|
run: ./gradlew createMojmapPaperclipJar --stacktrace --no-daemon
|
|
|
|
- name: Upload Artifacts
|
|
uses: actions/upload-artifact@v5
|
|
with:
|
|
name: DivineMC
|
|
path: divinemc-server/build/libs/divinemc-paperclip-*-mojmap.jar
|