diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 736e724..fef0b8d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,7 +20,68 @@ jobs: distribution: 'temurin' - name: Setup Gradle uses: gradle/actions/setup-gradle@v4 + - name: Apply patches run: ./gradlew updateSubmodules && ./gradlew applyPatches - - name: Build Mojang Maps for all versions - run: ./buildAll \ No newline at end of file + + # These are hardcoded, as it makes it easier to see on actions and probably fails the whole action when one fails. + + - name: Build Minecraft 1.16.5 + run: ./gradlew clean && ./gradlew build -PmcVer=1.16.5 + - name: Merge Minecraft 1.16.5 + run: ./gradlew mergeJars -PmcVer=1.16.5 + + - name: Build Minecraft 1.17.1 + run: ./gradlew clean && ./gradlew build -PmcVer=1.17.1 + - name: Merge Minecraft 1.17.1 + run: ./gradlew mergeJars -PmcVer=1.17.1 + + - name: Build Minecraft 1.18.2 + run: ./gradlew clean && ./gradlew build -PmcVer=1.18.2 + - name: Merge Minecraft 1.18.2 + run: ./gradlew mergeJars -PmcVer=1.18.2 + + - name: Build Minecraft 1.19.2 + run: ./gradlew clean && ./gradlew build -PmcVer=1.19.2 + - name: Merge Minecraft 1.19.2 + run: ./gradlew mergeJars -PmcVer=1.19.2 + + - name: Build Minecraft 1.19.4 + run: ./gradlew clean && ./gradlew build -PmcVer=1.19.4 + - name: Merge Minecraft 1.19.4 + run: ./gradlew mergeJars -PmcVer=1.19.4 + + - name: Build Minecraft 1.20.1 + run: ./gradlew clean && ./gradlew build -PmcVer=1.20.1 + - name: Merge Minecraft 1.20.1 + run: ./gradlew mergeJars -PmcVer=1.20.1 + + - name: Build Minecraft 1.20.2 + run: ./gradlew clean && ./gradlew build -PmcVer=1.20.2 + - name: Merge Minecraft 1.20.2 + run: ./gradlew mergeJars -PmcVer=1.20.2 + + - name: Build Minecraft 1.20.4 + run: ./gradlew clean && ./gradlew build -PmcVer=1.20.4 + - name: Merge Minecraft 1.20.4 + run: ./gradlew mergeJars -PmcVer=1.20.4 + + - name: Build Minecraft 1.20.6 + run: ./gradlew clean && ./gradlew build -PmcVer=1.20.6 + - name: Merge Minecraft 1.20.6 + run: ./gradlew mergeJars -PmcVer=1.20.6 + + - name: Build Minecraft 1.21 + run: ./gradlew clean && ./gradlew build -PmcVer=1.21.0 + - name: Merge Minecraft 1.21 + run: ./gradlew mergeJars -PmcVer=1.21.0 + + - name: Build Minecraft 1.21.3 + run: ./gradlew clean && ./gradlew build -PmcVer=1.21.3 + - name: Merge Minecraft 1.21.3 + run: ./gradlew mergeJars -PmcVer=1.21.3 + + - name: Build Minecraft 1.21.4 + run: ./gradlew clean && ./gradlew build -PmcVer=1.21.4 + - name: Merge Minecraft 1.21.4 + run: ./gradlew mergeJars -PmcVer=1.21.4 \ No newline at end of file