mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
f0880a27a0
* Initial work towards paperweight * feat: Port Fawe classes to paperweight - Hide UnsafeUtilities in javadocs - Fix typo in Regenerator - Create fawe tmp directory for fawe regen * Update adapters * chore: Update MiniMessage * Address todos * Fix leftover Tuinity loggers
35 lines
1014 B
YAML
35 lines
1014 B
YAML
name: "build"
|
|
|
|
on: ["pull_request", "push"]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: "ubuntu-latest"
|
|
steps:
|
|
- name: "Checkout Repository"
|
|
uses: "actions/checkout@v2.3.4"
|
|
- name : "Validate Gradle Wrapper"
|
|
uses : "gradle/wrapper-validation-action@v1.0.4"
|
|
- name: "Grab SHA"
|
|
uses: "benjlevesque/short-sha@v1.2"
|
|
id: "short-sha"
|
|
with:
|
|
length: "7"
|
|
- name: "Echo SHA"
|
|
run: "echo $SHA"
|
|
env:
|
|
SHA: "${{ steps.short-sha.outputs.sha }}"
|
|
- name: "Setup Java"
|
|
uses: "actions/setup-java@v2.3.1"
|
|
with:
|
|
distribution: "temurin"
|
|
cache: 'gradle'
|
|
java-version: "17"
|
|
- name: "Clean Build"
|
|
run: "./gradlew clean build --no-daemon"
|
|
- name: Archive Artifacts
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: FastAsyncWorldEdit-Bukkit-1.17-${{ env.SHA }}
|
|
path: worldedit-bukkit/build/libs/FastAsyncWorldEdit-Bukkit-1.17-${{ env.SHA }}.jar
|