Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
139 changes: 135 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -716,6 +716,42 @@ jobs:
path: fabric/1.21.2/build/libs/AdvancedBackups-fabric-1.21.2-${{ inputs.version }}.jar


fabric-26-2:
runs-on: ubuntu-latest
needs: core

steps:

- uses: actions/checkout@v3
with:
ref: main

- name: Download corelib
uses: actions/download-artifact@v4
with:
name: advancedbackups-corelib.jar
path: core/build/libs/

- name: Set up JDK 25
uses: actions/setup-java@v3
with:
java-version: 25
distribution: 'temurin'

- name: Build Mod
run: |
cd fabric/26.2
./gradlew -Pversion=${{ inputs.version }} build
#run: ls -la advancedbackups-corelib.jar


- name: Upload Mod
uses: actions/upload-artifact@v4
with:
name: AdvancedBackups-fabric-26.2-${{ inputs.version }}.jar
path: fabric/26.2/build/libs/AdvancedBackups-fabric-26.2-${{ inputs.version }}.jar


neoforge-1-20-2:
runs-on: ubuntu-latest
needs: core
Expand Down Expand Up @@ -940,12 +976,89 @@ jobs:
name: AdvancedBackups-spigot-1.21-${{ inputs.version }}.jar
path: spigot/1.21/build/libs/AdvancedBackups-spigot-1.21-${{ inputs.version }}.jar


neoforge-26-2:
runs-on: ubuntu-latest
needs: core

steps:

- uses: actions/checkout@v3
with:
ref: main

- name: Download corelib
uses: actions/download-artifact@v4
with:
name: advancedbackups-corelib.jar
path: core/build/libs/

- name: Set up JDK 25
uses: actions/setup-java@v3
with:
java-version: 25
distribution: 'temurin'

- name: Build Mod
run: |
cd neoforge/26.2
./gradlew -Pversion=${{ inputs.version }} build
#run: ls -la advancedbackups-corelib.jar


- name: Upload Mod
uses: actions/upload-artifact@v4
with:
name: AdvancedBackups-neoforge-26.2-${{ inputs.version }}.jar
path: neoforge/26.2/build/libs/AdvancedBackups-neoforge-26.2-${{ inputs.version }}.jar


spigot-26-2:
runs-on: ubuntu-latest
needs: core

steps:

- uses: actions/checkout@v3
with:
ref: main

- name: Download corelib
uses: actions/download-artifact@v4
with:
name: advancedbackups-corelib.jar
path: core/build/libs/

- name: Set up JDK 25
uses: actions/setup-java@v3
with:
java-version: 25
distribution: 'temurin'

- name: Setup Buildtools
run: |
wget -O BuildTools.jar https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar
java -jar BuildTools.jar --nogui --rev 26.2 --remapped

- name: Build Mod
run: |
cd spigot/26.2
./gradlew -Pversion=${{ inputs.version }} build
#run: ls -la advancedbackups-corelib.jar


- name: Upload Mod
uses: actions/upload-artifact@v4
with:
name: AdvancedBackups-spigot-26.2-${{ inputs.version }}.jar
path: spigot/26.2/build/libs/AdvancedBackups-spigot-26.2-${{ inputs.version }}.jar

bundle-archives:
runs-on: ubuntu-latest
needs: [core, forge-1-7-10, forge-1-12-2, forge-1-16, forge-1-18, fabric-1-18, forge-1-19-2,
needs: [core, forge-1-7-10, forge-1-12-2, forge-1-16, forge-1-18, fabric-1-18, forge-1-19-2,
forge-1-19-3, fabric-1-19-2, fabric-1-19-3, forge-1-20, forge-1-20-2, fabric-1-20, fabric-1-20-2, neoforge-1-20-2,
forge-1-20-4, forge-1-20-6, fabric-1-20-4, fabric-1-21, fabric-1-21-2, neoforge-1-20-4, fabric-1-20-6, neoforge-1-20-6, neoforge-1-21, neoforge-1-21-2,
spigot-1-21]
forge-1-20-4, forge-1-20-6, fabric-1-20-4, fabric-1-21, fabric-1-21-2, fabric-26-2, neoforge-1-20-4, fabric-1-20-6, neoforge-1-20-6, neoforge-1-21, neoforge-1-21-2,
spigot-1-21, neoforge-26-2, spigot-26-2]

steps:

Expand Down Expand Up @@ -1064,6 +1177,12 @@ jobs:
name: AdvancedBackups-fabric-1.21.2-${{ inputs.version }}.jar
path: archives/

- name: Download Fabric-26-2
uses: actions/download-artifact@v4
with:
name: AdvancedBackups-fabric-26.2-${{ inputs.version }}.jar
path: archives/

- name: Download Neoforge-1-20-2
uses: actions/download-artifact@v4
with:
Expand Down Expand Up @@ -1099,7 +1218,19 @@ jobs:
with:
name: AdvancedBackups-spigot-1.21-${{ inputs.version }}.jar
path: archives/


- name: Download Neoforge-26-2
uses: actions/download-artifact@v4
with:
name: AdvancedBackups-neoforge-26.2-${{ inputs.version }}.jar
path: archives/

- name: Download Spigot-26-2
uses: actions/download-artifact@v4
with:
name: AdvancedBackups-spigot-26.2-${{ inputs.version }}.jar
path: archives/

- name: Cleanup Old Archives
uses: geekyeggo/delete-artifact@v2
with:
Expand Down
92 changes: 90 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,15 @@ on:
- Fabric 1.20.6
- Fabric 1.21
- Fabric 1.21.2
- Fabric 26.2
- Neoforge 1.20.2
- Neoforge 1.20.4
- Neoforge 1.20.6
- Neoforge 1.21
- Neoforge 1.21.2
- Neoforge 26.2
- Spigot 1.21
- Spigot 26.2


jobs:
Expand Down Expand Up @@ -620,7 +623,7 @@ jobs:
loaders: |
fabric
quilt
game-versions: |
game-versions: |
1.21.2
1.21.3
1.21.4
Expand All @@ -629,6 +632,34 @@ jobs:
changelog: ${{ vars.CHANGELOG }}


- name: Upload Fabric 26.2

if: inputs.version == 'Fabric 26.2' || inputs.version == 'All'
uses: Kir-Antipov/mc-publish@v3.3
with:
#CF specific
curseforge-id: 876284
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
#MR specific
modrinth-id: Jrmoreqs
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
#Modrinth's auto-feature works nicely, so we're going to keep using it.
modrinth-featured: false
#General
files: |
**/AdvancedBackups-fabric-26.2-${{ steps.version.outputs.VERSION }}.jar
name: Fabric 26.2 - ${{ steps.version.outputs.VERSION }}
version: ${{ steps.version.outputs.VERSION }}
version-type: release
loaders: |
fabric
game-versions: |
26.2
java: |
Java 25
changelog: ${{ vars.CHANGELOG }}


- name: Upload Neoforge 1.20.2

if: inputs.version == 'Neoforge 1.20.2' || inputs.version == 'All'
Expand Down Expand Up @@ -762,7 +793,7 @@ jobs:
version-type: release
loaders: |
neoforge
game-versions: |
game-versions: |
1.21.2
1.21.3
1.21.4
Expand All @@ -771,6 +802,34 @@ jobs:
changelog: ${{ vars.CHANGELOG }}


- name: Upload Neoforge 26.2

if: inputs.version == 'Neoforge 26.2' || inputs.version == 'All'
uses: Kir-Antipov/mc-publish@v3.3
with:
#CF specific
curseforge-id: 876284
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
#MR specific
modrinth-id: Jrmoreqs
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
#Modrinth's auto-feature works nicely, so we're going to keep using it.
modrinth-featured: false
#General
files: |
**/AdvancedBackups-neoforge-26.2-${{ steps.version.outputs.VERSION }}.jar
name: Neoforge 26.2 - ${{ steps.version.outputs.VERSION }}
version: ${{ steps.version.outputs.VERSION }}
version-type: release
loaders: |
neoforge
game-versions: |
26.2
java: |
Java 25
changelog: ${{ vars.CHANGELOG }}


- name: Upload Spigot 1.21

if: inputs.version == 'Spigot 1.21' || inputs.version == 'All'
Expand Down Expand Up @@ -799,3 +858,32 @@ jobs:
Java 21
changelog: ${{ vars.CHANGELOG }}


- name: Upload Spigot 26.2

if: inputs.version == 'Spigot 26.2' || inputs.version == 'All'
uses: Kir-Antipov/mc-publish@v3.3
with:
#CF specific
curseforge-id: 876284
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
#MR specific
modrinth-id: Jrmoreqs
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
#Modrinth's auto-feature works nicely, so we're going to keep using it.
modrinth-featured: false
#General
files: |
**/AdvancedBackups-spigot-26.2-${{ steps.version.outputs.VERSION }}.jar
name: Spigot 26.2 - ${{ steps.version.outputs.VERSION }}
version: ${{ steps.version.outputs.VERSION }}
version-type: release
loaders: |
spigot
paper
game-versions: |
26.2
java: |
Java 25
changelog: ${{ vars.CHANGELOG }}

6 changes: 6 additions & 0 deletions fabric/26.2/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Fabric - 26.2

This is the branch specifically for fabric 26.2.
Any differences will be listed below. For full documentation, see the `core` branch.

Minecraft 26.2 ships unobfuscated, so this module builds against Mojang's official mappings directly (no Yarn) using the non-remapping `net.fabricmc.fabric-loom` plugin, and targets Java 25.
Loading