File tree Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -21,12 +21,22 @@ jobs:
2121 with :
2222 distribution : ' temurin'
2323 java-version : 17
24- - name : Build ModernFix using Gradle
24+ - name : Setup Gradle
2525 uses : gradle/gradle-build-action@v2
2626 with :
2727 cache-read-only : ${{ !startsWith(github.ref, 'refs/heads/1.') }}
2828 gradle-home-cache-cleanup : true
29- arguments : build
29+ - name : Setup project Loom cache
30+ uses : actions/cache@v3
31+ with :
32+ path : |
33+ .gradle/loom-cache
34+ key : ${{ runner.os }}-gradle-${{ hashFiles('**/gradle.properties', '**/*.gradle*', '**/gradle-wrapper.properties') }}
35+ restore-keys : ${{ runner.os }}-gradle-
36+ - name : Build ModernFix
37+ run : |
38+ chmod +x gradlew
39+ ./gradlew build
3040 - name : Upload Artifacts to GitHub
3141 uses : actions/upload-artifact@v3
3242 with :
Original file line number Diff line number Diff line change @@ -18,9 +18,6 @@ dependencies {
1818 minecraft " com.mojang:minecraft:${ rootProject.minecraft_version} "
1919 mappings loom. layered() {
2020 officialMojangMappings()
21- if (rootProject. hasProperty(" parchment_version" )) {
22- parchment(" org.parchmentmc.data:parchment-${ minecraft_version} :${ parchment_version} @zip" )
23- }
2421 }
2522
2623 modImplementation " net.fabricmc:fabric-loader:${ rootProject.fabric_loader_version} "
You can’t perform that action at this time.
0 commit comments