diff options
| author | Krakenied <Krakenied1@gmail.com> | 2024-04-28 08:22:31 +0200 |
|---|---|---|
| committer | Leonardo Bishop <13875753+LMBishop@users.noreply.github.com> | 2024-04-30 17:38:22 +0100 |
| commit | 3627b9a957f40d6e04365ae762e59435571fcb54 (patch) | |
| tree | edc3986bc35c64160bc4d82cc81ceeb71c4260a4 /.github/workflows | |
| parent | 0166e270984ccbe0d04a0ce947f01c35e16de099 (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/workflows')
| -rw-r--r-- | .github/workflows/build.yml | 14 |
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 |
