diff options
| author | Krakenied <Krakenied1@gmail.com> | 2024-06-12 04:04:25 +0200 |
|---|---|---|
| committer | Krakenied <46192742+Krakenied@users.noreply.github.com> | 2024-08-28 11:37:11 +0200 |
| commit | de2b72083c83a9af9da33f89600aeb20a7225ce3 (patch) | |
| tree | 334a0dce43bc58a88bbfd870de7ba777af772b19 /.github/workflows/build.yml | |
| parent | 22d882e5ba4e2bb2b26660d19fd0c660959a712f (diff) | |
Rewrite Gradle files to use DSL which is actually supported by IDEs
Change the downgrader to a modern supported one
Diffstat (limited to '.github/workflows/build.yml')
| -rw-r--r-- | .github/workflows/build.yml | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0cda7c2d..5f299d28 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,18 +24,30 @@ jobs: **/*.gradle* **/gradle-wrapper.properties - name: Build with Gradle - run: ./gradlew allJar --no-daemon --stacktrace + run: ./gradlew --no-daemon --stacktrace - name: "Upload the Java ${{ matrix.java-version }} plugin JAR" uses: actions/upload-artifact@v4 with: - name: "Quests-JDK${{ matrix.java-version }}" + name: "! Quests-JDK${{ matrix.java-version }}" path: | build/libs/*.jar - !build/libs/*+java8.jar + !build/libs/*-downgraded-*.jar if-no-files-found: error - - name: Upload the Java 8 plugin JAR + - name: Upload the downgraded Java 8 plugin JAR uses: actions/upload-artifact@v4 with: - name: Quests-JDK8 (use at your own risk) - path: build/libs/*+java8.jar + name: Quests-JDK1.8 (use at your own risk) + path: build/libs/*-downgraded-8.jar + if-no-files-found: error + - name: Upload the downgraded Java 16 plugin JAR + uses: actions/upload-artifact@v4 + with: + name: Quests-JDK16 (use at your own risk) + path: build/libs/*-downgraded-16.jar + if-no-files-found: error + - name: Upload the downgraded Java 17 plugin JAR + uses: actions/upload-artifact@v4 + with: + name: Quests-JDK17 (use at your own risk) + path: build/libs/*-downgraded-17.jar if-no-files-found: error |
