FastAsyncWorldEdit/.github/workflows/build.yml
Pierre Maurice Schwang 7d3a9ff36d
Fixed Unit Tests (BlockVector3.isLongPackable) (#1168)
* Fixed Unit Tests (BlockVector3.isLongPackable)

* Re-enable tests for ci

* Address gh action dependency complaints

* Fix "invalid usage of tag &" for MinecraftVersion.java

* Simple StubServer for BukkitWorldTest.java

* Add parallelgzip to test runtime, fixed javadoc encoding, make gradlew executable and patch StubServer for latest spigot / paper release

* Move Javadoc UTF-8 to PlatformConfig.kt

* Revert "make gradlew executable"
Was required for act to run, but not required for GH actions - Weird behavior

* Mark upstream changes, move class + apply editorconfig

Co-authored-by: NotMyFault <mc.cache@web.de>
Co-authored-by: Matt <4009945+MattBDev@users.noreply.github.com>
2021-08-10 09:31:37 +01:00

32 Zeilen
879 B
YAML

name: "build"
on: ["pull_request", "push"]
jobs:
build:
runs-on: "ubuntu-20.04"
steps:
- name: "Checkout Repository"
uses: "actions/checkout@v2.3.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 JDK 16"
uses: "actions/setup-java@v2.2.0"
with:
distribution: "temurin"
java-version: "16"
- name: "Clean Build"
run: "./gradlew clean build"
- 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