88 types :
99 - published
1010
11+ concurrency :
12+ group : gradle-build
13+ cancel-in-progress : true
14+
1115jobs :
1216 build :
1317 runs-on : ubuntu-latest
@@ -20,13 +24,22 @@ jobs:
2024 distribution : temurin
2125 java-version : 17
2226
27+ - name : Remove Gradle cache locks
28+ run : rm -f ~/.gradle/caches/*/*.lock
29+
30+ - name : Disable Gradle Daemon
31+ run : echo "org.gradle.daemon=false" >> gradle.properties
32+
33+ - name : Clear Gradle Cache
34+ run : rm -rf ~/.gradle/caches
35+
2336 - name : Setup Gradle
2437 uses : gradle/actions/setup-gradle@v3
2538 with :
2639 cache-read-only : false
2740
2841 - name : Run build with Gradle Wrapper
29- run : ./gradlew build -Dbuild.release=true
42+ run : ./gradlew build -Dbuild.release=true --no-parallel --no-daemon
3043
3144 - name : Extract versions from tag name
3245 id : versions
6275 architectury-api(required)
6376 cryonicconfig(required)
6477
65- version-resolver : latest # Defaults to selecting the latest compatible version of Minecraft, using the tag from the fabric.mod.json
78+ version-resolver : latest
6679
6780 - name : Upload neoforge artifacts
6881 uses : Kir-Antipov/mc-publish@v3.3
90103 architectury-api(required)
91104 cryonicconfig(required)
92105
93- version-resolver : latest # Defaults to selecting the latest compatible version of Minecraft, using the tag from the fabric.mod.json
106+ version-resolver : latest
94107
95108 - name : Upload forge artifacts
96109 uses : Kir-Antipov/mc-publish@v3.3
@@ -118,4 +131,4 @@ jobs:
118131 architectury-api(required)
119132 cryonicconfig(required)
120133
121- version-resolver : latest # Defaults to selecting the latest compatible version of Minecraft, using the tag from the fabric.mod.json
134+ version-resolver : latest
0 commit comments