diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 63a8e01d8..0af92c8fb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -69,6 +69,22 @@ jobs: name: build-artifacts path: versions/*/build/libs/ + - name: Collect mod jars + run: | + shopt -s extglob + mkdir mod-jars + for jar in versions/*/build/libs/!(*-@(dev|sources|shadow)).jar; do + cp -p "$jar" mod-jars/ + done + ls -l mod-jars + + # This is the artifact recommended for users to download + - name: Upload mod jars + uses: actions/upload-artifact@v4 + with: + name: mod-jars + path: mod-jars/*.jar + - name: Publish with gradle if: inputs.release || github.ref == 'refs/heads/dev' run: | diff --git a/build.gradle b/build.gradle index cef6f51d1..038078250 100644 --- a/build.gradle +++ b/build.gradle @@ -2,11 +2,11 @@ plugins { id 'maven-publish' id 'com.github.hierynomus.license' version '0.16.1' apply false id 'com.github.johnrengelman.shadow' version '8.1.1' apply false - id 'fabric-loom' version '1.8-SNAPSHOT' apply false + id 'fabric-loom' version '1.9-SNAPSHOT' apply false // https://github.com/ReplayMod/preprocessor // https://github.com/Fallen-Breath/preprocessor - id 'com.replaymod.preprocess' version '8de9ff8bf3' + id 'com.replaymod.preprocess' version '9d21b334a7' // https://github.com/Fallen-Breath/yamlang id 'me.fallenbreath.yamlang' version '1.4.0' apply false diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index df97d72b8..e2847c820 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME