From b204931cc0eafc2969e8569fd3471182bca8eb23 Mon Sep 17 00:00:00 2001 From: Krakenied Date: Wed, 11 Sep 2024 10:09:10 +0200 Subject: Start uploading JARs downgraded to 11 Check only the youngest commit for CI skip --- .github/workflows/build.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7a1ab03e..8e8f311d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,7 +8,7 @@ jobs: distribution: [temurin] java-version: ["21"] runs-on: ${{ matrix.os }} - if: "!startsWith(github.event.commits[0].message, '[ci-skip]')" + if: "!startsWith(github.event.head_commit.message, '[ci-skip]')" steps: - name: Checkout repository uses: actions/checkout@v4 @@ -39,6 +39,12 @@ jobs: name: Quests-JDK1.8 (use at your own risk) path: build/libs/*-downgraded-8-shaded.jar if-no-files-found: error + - name: Upload the downgraded Java 11 plugin JAR + uses: actions/upload-artifact@v4 + with: + name: Quests-JDK11 (use at your own risk) + path: build/libs/*-downgraded-11-shaded.jar + if-no-files-found: error - name: Upload the downgraded Java 16 plugin JAR uses: actions/upload-artifact@v4 with: -- cgit v1.2.3-70-g09d2