-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into 1.20.4-support
- Loading branch information
Showing
6 changed files
with
117 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: Build 1.8.9 | ||
|
||
on: | ||
push: | ||
paths: | ||
- 'MinecraftMod/forge/1.8.9/**' | ||
|
||
jobs: | ||
build: | ||
name: Build | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
# Setup JDK | ||
- name: Set up JDK 8 | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: adopt | ||
java-version: 8 | ||
|
||
- name: Set up Gradle | ||
uses: gradle/actions/setup-gradle@v3 | ||
|
||
# Build Core | ||
- name: Build/Install Core | ||
working-directory: ./MinecraftMod/core | ||
run: './gradlew publishToMavenLocal' | ||
|
||
# Setup Minecraft Forge Workspace | ||
- name: Setup Forge Workspace | ||
working-directory: ./MinecraftMod/forge/1.8.9 | ||
run: './gradlew setupCiWorkspace --no-daemon' | ||
|
||
# Build Minecraft Mod | ||
- name: Build Mod | ||
working-directory: ./MinecraftMod/forge/1.8.9 | ||
run: './gradlew build --no-daemon' | ||
|
||
# Upload Artifact | ||
- name: Upload Artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: forge 1.8.9 | ||
path: ./MinecraftMod/forge/1.8.9/build/libs/*.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters