Skip to content

Commit

Permalink
(cd) implement CD
Browse files Browse the repository at this point in the history
  • Loading branch information
lilgallon committed Sep 30, 2024
1 parent 206a991 commit d8cfd29
Show file tree
Hide file tree
Showing 5 changed files with 83 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/release-fabric.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: build fabric
on:
push:
tags:
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet
# Example: 2.0.0-MC1.21.x-fabric
- "[0-9]+.[0-9]+.[0-9]+-MC[0-9]+.[0-9]+.[0-9x]+-fabric"

permissions:
contents: write

jobs:
build:
strategy:
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Gradle Build
run: ./gradlew :fabric:build
- name: Release
uses: softprops/action-gh-release@v2
with:
body_path: CHANGELOG_FABRIC.md
files: ./fabric/build/libs/**
32 changes: 32 additions & 0 deletions .github/workflows/release-neoforge.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: build fabric
on:
push:
tags:
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet
# Example: 2.0.0-MC1.21.x-fabric
- "[0-9]+.[0-9]+.[0-9]+-MC[0-9]+.[0-9]+.[0-9x]+-neoforge"

permissions:
contents: write

jobs:
build:
strategy:
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Gradle Build
run: ./gradlew :fabric:build
- name: Release
uses: softprops/action-gh-release@v2
with:
body_path: CHANGELOG_NEOFORGE.md
files: ./neoforge/build/libs/**
Empty file removed CHANGELOG.md
Empty file.
12 changes: 12 additions & 0 deletions CHANGELOG_FABRIC.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
## Version 2.0.0 Fabric

*The mod is now compatible with fabric!*

Requirements:
- Cloth config `>=15.0.0`

Suggestion:
- Modmenu: you will be able to edit the config with an interface

Changes:
- None, it's brand new on fabric!
7 changes: 7 additions & 0 deletions CHANGELOG_NEOFORGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## Version 2.0.0 NeoForge

*The mod has been entirely recoded, it will be a lot easier to maintain*

- The configuration screen is built-in
- Fixed a bug where hovering text was displayed outside the horse container
- Fixed slots color not updating accordingly to min/max

0 comments on commit d8cfd29

Please sign in to comment.