Skip to content

Commit

Permalink
feat!: add NeoForge support
Browse files Browse the repository at this point in the history
BREAKING CHANGE: The mod now produces both a Fabric and NeoForge distribution via Architectury and configuration via Resourceful Config.

Release-As: 9.0.0+1.21.1
  • Loading branch information
axieum committed Feb 9, 2025
1 parent bfffaa1 commit aa9370a
Show file tree
Hide file tree
Showing 83 changed files with 1,587 additions and 1,748 deletions.
21 changes: 0 additions & 21 deletions .editorconfig

This file was deleted.

15 changes: 15 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
* text eol=lf
*.bat text eol=crlf
*.patch text eol=lf
*.java text eol=lf
*.gradle text eol=crlf
*.png binary
*.gif binary
*.exe binary
*.dll binary
*.jar binary
*.lzma binary
*.zip binary
*.pyd binary
*.cfg text eol=lf
*.jks binary
3 changes: 3 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ contact_links:
- name: About Fabric
url: https://fabricmc.net/
about: Please find information regarding the Fabric mod loader here
- name: About NeoForge
url: https://neoforged.net/
about: Please find information regarding the NeoForge mod loader here
5 changes: 5 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,8 @@ build:
- '**/gradle.properties'
- '**/settings.gradle'
- '.github/workflows/build.yml'

# Add labels for changes to each submodule
common: 'common/**'
fabric: 'fabric/**'
neoforge: 'neoforge/**'
26 changes: 14 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,12 @@ name: Build

# On pull requests
on:
push:
branches:
- '!main'
- '!master'
pull_request:
paths:
- '**/src/**'
- '**/build.gradle'
- '**/gradle.properties'
- '**/settings.gradle'
- .github/workflows/build.yml
- LICENCE.txt
workflow_dispatch:

jobs:
build:
Expand Down Expand Up @@ -39,20 +37,24 @@ jobs:
run: ./gradlew build publishToMavenLocal

- name: 📦 Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: artifacts
path: '**/build/libs/'
path: |
**/build/libs/
!/build/**
- name: 📝 Upload reports
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: reports
path: '**/build/reports/'
path: |
**/build/reports/
!/build/**
- name: 🗃 Upload Maven local
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: maven
path: ~/.m2/repository/
2 changes: 1 addition & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
name: Labeler

# On pull requests
on: [pull_request_target]
on: [ pull_request_target ]

jobs:
triage:
Expand Down
72 changes: 0 additions & 72 deletions .github/workflows/release-1.19.4.yml

This file was deleted.

72 changes: 0 additions & 72 deletions .github/workflows/release-1.20.2.yml

This file was deleted.

72 changes: 0 additions & 72 deletions .github/workflows/release-1.20.4.yml

This file was deleted.

Loading

0 comments on commit aa9370a

Please sign in to comment.