mirror of
https://github.com/FabricMC/fabric.git
synced 2025-03-24 22:11:18 -04:00
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:
parent
d5533c01e6
commit
64e495f64a
4 changed files with 4 additions and 3 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -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
|
||||
|
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -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 }}
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
org.gradle.jvmargs=-Xmx2560M
|
||||
org.gradle.parallel=true
|
||||
|
||||
version=0.57.1
|
||||
minecraft_version=1.19.1-pre2
|
||||
|
|
Loading…
Add table
Reference in a new issue