Skip to content
This repository was archived by the owner on Oct 13, 2025. It is now read-only.

Add Rebranding

Add Rebranding #4

Workflow file for this run

name: Build Pull Request
on:
pull_request:
branches: [ "ver/1.21.8" ]
jobs:
build:
runs-on: ubuntu-latest
env:
GRAALVM_ARGS: "-Dgraal.CompilerConfiguration=enterprise -Dgraal.UsePriorityInlining=true -Dgraal.Vectorization=true -Dgraal.OptDuplication=true --add-modules jdk.incubator.vector"
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up GraalVM JDK 21
uses: graalvm/setup-graalvm@v1
with:
java-version: 21
github-token: "${{ secrets.GITHUB_TOKEN }}"
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Configure Git
run: |
git config --global user.email "no-reply@github.com"
git config --global user.name "Github Actions"
- name: Apply patches
run: ./gradlew -Dorg.gradle.jvmargs="${{ env.GRAALVM_ARGS }}" applyAllPatches --stacktrace --no-daemon
- name: Create MojmapPaperclipJar
run: ./gradlew -Dorg.gradle.jvmargs="${{ env.GRAALVM_ARGS }}" createMojmapPaperclipJar --stacktrace --no-daemon
- name: Rename Paperclip JARs
run: mv sapling-server/build/libs/sapling-paperclip-1.21.8-R0.1-SNAPSHOT-mojmap.jar ./sapling-1.21.8.jar
- name: Upload Leaf as build artifact
uses: actions/upload-artifact@v4
with:
name: Sapling 1.21.8
path: ./sapling-1.21.8.jar