aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorKrakenied <Krakenied1@gmail.com>2024-04-28 08:22:31 +0200
committerLeonardo Bishop <13875753+LMBishop@users.noreply.github.com>2024-04-30 17:38:22 +0100
commit3627b9a957f40d6e04365ae762e59435571fcb54 (patch)
treeedc3986bc35c64160bc4d82cc81ceeb71c4260a4 /.github
parent0166e270984ccbe0d04a0ce947f01c35e16de099 (diff)
Update to Paper-API 1.20.5
Java 21 is now required Add java-downgrader plugin to support older Java versions Migrate shadow from com.github.johnrengelman.shadow to io.github.goooler.shadow to fix the project compilation using Java 21 and Gradle 8.7 https://github.com/johnrengelman/shadow/pull/876
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml14
1 files changed, 11 insertions, 3 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 9003010c..0cda7c2d 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -6,7 +6,7 @@ jobs:
matrix:
os: [ubuntu-latest]
distribution: [temurin]
- java-version: ["17"]
+ java-version: ["21"]
runs-on: ${{ matrix.os }}
if: "!startsWith(github.event.commits[0].message, '[ci-skip]')"
steps:
@@ -25,9 +25,17 @@ jobs:
**/gradle-wrapper.properties
- name: Build with Gradle
run: ./gradlew allJar --no-daemon --stacktrace
- - name: Upload the plugin JAR
+ - name: "Upload the Java ${{ matrix.java-version }} plugin JAR"
uses: actions/upload-artifact@v4
with:
name: "Quests-JDK${{ matrix.java-version }}"
- path: build/libs/*.jar
+ path: |
+ build/libs/*.jar
+ !build/libs/*+java8.jar
+ if-no-files-found: error
+ - name: Upload the Java 8 plugin JAR
+ uses: actions/upload-artifact@v4
+ with:
+ name: Quests-JDK8 (use at your own risk)
+ path: build/libs/*+java8.jar
if-no-files-found: error