From 3da433864c430429b74a0d6e9e6be5bd4ee782cc Mon Sep 17 00:00:00 2001 From: Kaspian <34658474+KaspianDev@users.noreply.github.com> Date: Sun, 5 Nov 2023 14:49:38 +0100 Subject: [PATCH] Create placeholderapi.yml --- .github/workflows/placeholderapi.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/placeholderapi.yml diff --git a/.github/workflows/placeholderapi.yml b/.github/workflows/placeholderapi.yml new file mode 100644 index 0000000..51fdb83 --- /dev/null +++ b/.github/workflows/placeholderapi.yml @@ -0,0 +1,27 @@ +name: PlaceholderAPI Build + +on: + push: + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-20.04 + if: "!startsWith(github.event.head_commit.message, 'ci-skip')" + + steps: + - uses: actions/checkout@v4 + - name: Set up JDK 17 + uses: actions/setup-java@v3 + with: + java-version: 17 + distribution: temurin + cache: gradle + + - name: Build artifacts + run: ./gradlew build + + - name: Upload build artifacts + uses: actions/upload-artifact@v3 + with: + path: build/libs/*.jar