Skip to content

Commit

Permalink
Make builds hardcoded
Browse files Browse the repository at this point in the history
  • Loading branch information
Abelkrijgtalles committed Dec 18, 2024
1 parent a1a38ca commit 6c0be67
Showing 1 changed file with 63 additions and 2 deletions.
65 changes: 63 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

# 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

0 comments on commit 6c0be67

Please sign in to comment.