-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from Erdragh/feature/multiloader-template
NeoForge and Multiloader Template
- Loading branch information
Showing
27 changed files
with
504 additions
and
347 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 |
---|---|---|
|
@@ -50,12 +50,12 @@ jobs: | |
with: | ||
name: build-fabric | ||
path: fabric/build/libs | ||
- name: Capture Forge Artifacts | ||
- name: Capture Neo Artifacts | ||
if: ${{ runner.os == 'Linux' && matrix.java == '17' }} # Only upload artifacts built from latest java on one OS | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: build-forge | ||
path: forge/build/libs | ||
name: build-neo | ||
path: neoforge/build/libs | ||
- name: Capture Changelog | ||
if: ${{ runner.os == 'Linux' && matrix.java == '17' }} # Only upload artifacts built from latest java on one OS | ||
uses: actions/upload-artifact@v4 | ||
|
@@ -78,11 +78,11 @@ jobs: | |
path: build/fabric | ||
pattern: build-fabric | ||
merge-multiple: true | ||
- name: Download Forge artifacts | ||
- name: Download Neo artifacts | ||
uses: actions/download-artifact@v4 | ||
with: | ||
path: build/forge | ||
pattern: build-forge | ||
path: build/neo | ||
pattern: build-neo | ||
merge-multiple: true | ||
- name: Download Changelog | ||
uses: actions/download-artifact@v4 | ||
|
@@ -102,9 +102,9 @@ jobs: | |
path: "./gradle.properties" | ||
properties: "version enabledPlatforms minecraftVersion" | ||
|
||
- name: Upload Forge Releases (Curse/Modrinth) | ||
id: forge_release | ||
if: contains(steps.properties.outputs.enabledPlatforms, 'forge') | ||
- name: Upload Neo Releases (Curse/Modrinth) | ||
id: neo_release | ||
if: contains(steps.properties.outputs.enabledPlatforms, 'neoforge') | ||
uses: Kir-Antipov/[email protected] | ||
with: | ||
curseforge-id: ${{ vars.CURSE_ID }} | ||
|
@@ -114,19 +114,17 @@ jobs: | |
modrinth-token: ${{ secrets.MODRINTH_TOKEN }} | ||
|
||
files: ./build/forge/!(*-@(dev|sources|dev-shadow)).jar | ||
name: "AstralBot ${{ steps.properties.outputs.version }} Forge ${{ steps.properties.output.minecraftVersion }}" | ||
name: "AstralBot ${{ steps.properties.outputs.version }} NeoForge ${{ steps.properties.output.minecraftVersion }}" | ||
version: ${{ steps.properties.outputs.version }} | ||
version-type: release | ||
changelog-file: build-changelog/prepared_changelog.md | ||
loaders: forge | ||
game-versions: ${{ steps.properties.outputs.minecraftVersion }} | ||
|
||
curseforge-dependencies: | | ||
sqlite-jdbc(optional) | ||
kotlin-for-forge(required) | ||
forge-config-api-port-fabric(required) | ||
modrinth-dependencies: | | ||
sqlite-jdbc(optional) | ||
kotlin-for-forge(required) | ||
forge-config-api-port(required) | ||
|
@@ -153,11 +151,7 @@ jobs: | |
fabric-api(required) | ||
fabric-language-kotlin(required) | ||
forge-config-api-port-fabric(required) | ||
sqlite-jdbc(optional) | ||
ledger(optional) | ||
modrinth-dependencies: | | ||
fabric-api(required) | ||
fabric-language-kotlin(required) | ||
forge-config-api-port(required) | ||
sqlite-jdbc(optional) | ||
ledger(optional) | ||
forge-config-api-port(required) |
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
Oops, something went wrong.