Skip to content

Update Upstream EssentialsX : #13

Update Upstream EssentialsX :

Update Upstream EssentialsX : #13

Workflow file for this run

name: Build and Upload Jar
on:
push:
branches:
- folia-patches
pull_request:
branches:
- folia-patches
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Java
uses: actions/setup-java@v3
with:
java-version: '21'
distribution: 'temurin'
- name: Grant execute permission to script
run: bash -c "chmod +x script.sh"
- name: Update upstream and apply patches
shell: bash
run: |
git config --global user.email "[email protected]"
git config --global user.name "Action Github"
./script.sh updateUpstream
./script.sh applyPatches
- name: Setup Gradle
uses: gradle/gradle-build-action@v3
- name: Build
shell: bash
run: |
cd Essentials-Patchs
./gradlew build --stacktrace
- name: Archive plugin jars on GitHub
uses: actions/upload-artifact@v4
with:
name: EssentialsX plugin jars
path: Essentials-Patchs/jars/