Enable parallel builds by default.

Update remotesign to a parallel capable version.
Set org.gradle.parallel.threads in actions as we are IO bound.
This commit is contained in:
modmuss50 2022-06-28 20:38:10 +01:00
parent d5533c01e6
commit 64e495f64a
4 changed files with 4 additions and 3 deletions

View file

@ -14,7 +14,7 @@ jobs:
with:
fetch-depth: 0
- uses: gradle/wrapper-validation-action@v1
- run: ./gradlew check build publishToMavenLocal --stacktrace --parallel --warning-mode=fail
- run: ./gradlew check build publishToMavenLocal --stacktrace --warning-mode=fail -Porg.gradle.parallel.threads=4
- run: mkdir run && echo "eula=true" >> run/eula.txt
- run: ./gradlew runAutoTestServer --stacktrace --warning-mode=fail
- uses: actions/upload-artifact@v2

View file

@ -22,7 +22,7 @@ jobs:
context: changelog
workflow_id: release.yml
- uses: gradle/wrapper-validation-action@v1
- run: ./gradlew checkVersion build publish curseforge github modrinth --stacktrace
- run: ./gradlew checkVersion build publish curseforge github modrinth --stacktrace -Porg.gradle.parallel.threads=4
env:
MAVEN_URL: ${{ secrets.MAVEN_URL }}
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}

View file

@ -14,7 +14,7 @@ plugins {
id "org.ajoberstar.grgit" version "3.1.0"
id "com.matthewprenger.cursegradle" version "1.4.0"
id "com.modrinth.minotaur" version "1.1.0"
id "me.modmuss50.remotesign" version "0.2.4" apply false
id "me.modmuss50.remotesign" version "0.3.0" apply false
}
def ENV = System.getenv()

View file

@ -1,4 +1,5 @@
org.gradle.jvmargs=-Xmx2560M
org.gradle.parallel=true
version=0.57.1
minecraft_version=1.19.1-pre2