-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
084caec
commit a8e3a31
Showing
3 changed files
with
14 additions
and
64 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 |
---|---|---|
|
@@ -5,8 +5,8 @@ permissions: | |
contents: write | ||
|
||
env: | ||
MINECRAFT_VERSION: 1.20.4 | ||
JAVA_VERSION: 17 | ||
MINECRAFT_VERSION: 1.21.1 | ||
JAVA_VERSION: 21 | ||
VERSION: 2.1.0 | ||
MODRINTH_ID: ELrdP6OH | ||
CURSEFORGE_ID: 564244 | ||
|
@@ -24,7 +24,7 @@ jobs: | |
uses: actions/setup-java@v2 | ||
with: | ||
distribution: "temurin" | ||
java-version: 17 | ||
java-version: 21 | ||
|
||
- name: Make Gradle Wrapper Executable | ||
if: ${{ runner.os != 'Windows' }} | ||
|
@@ -56,29 +56,6 @@ jobs: | |
retry-attempts: 2 | ||
retry-delay: 10000 | ||
|
||
- name: Publish Forge to CurseForge | ||
uses: Kir-Antipov/[email protected] | ||
with: | ||
# CurseForge | ||
curseforge-id: ${{ env.CURSEFORGE_ID }} | ||
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} | ||
|
||
# Config | ||
name: "[Forge] Splash Milk ${{ env.VERSION }} for ${{ env.MINECRAFT_VERSION }}" | ||
version: ${{ env.VERSION }} | ||
version-type: release | ||
changelog-file: changelog/${{ env.VERSION }}.md | ||
files: forge/build/libs/*-${{ env.VERSION }}!(-@(dev|sources|slim|dev-shadow)).jar | ||
|
||
loaders: | | ||
forge | ||
game-versions: | | ||
${{ env.MINECRAFT_VERSION }} | ||
java: | | ||
${{ env.JAVA_VERSION }} | ||
retry-attempts: 2 | ||
retry-delay: 10000 | ||
|
||
- name: Publish Fabric/Quilt to CurseForge | ||
uses: Kir-Antipov/[email protected] | ||
with: | ||
|
@@ -98,9 +75,6 @@ jobs: | |
quilt | ||
game-versions: | | ||
${{ env.MINECRAFT_VERSION }} | ||
dependencies: | | ||
cloth-config(required) | ||
modmenu(optional) | ||
java: | | ||
${{ env.JAVA_VERSION }} | ||
retry-attempts: 2 | ||
|
@@ -130,30 +104,6 @@ jobs: | |
retry-attempts: 2 | ||
retry-delay: 10000 | ||
|
||
- name: Publish Forge to Modrinth | ||
uses: Kir-Antipov/[email protected] | ||
with: | ||
# Modrinth | ||
modrinth-id: ${{ env.MODRINTH_ID }} | ||
modrinth-featured: true | ||
modrinth-token: ${{ secrets.MODRINTH_TOKEN }} | ||
|
||
# Config | ||
name: "The Splash Milk ${{ env.VERSION }} for ${{ env.MINECRAFT_VERSION }}" | ||
version: ${{ env.VERSION }} | ||
version-type: release | ||
changelog-file: changelog/${{ env.VERSION }}.md | ||
files: forge/build/libs/*-${{ env.VERSION }}!(-@(dev|sources|slim|dev-shadow)).jar | ||
|
||
loaders: | | ||
forge | ||
game-versions: | | ||
${{ env.MINECRAFT_VERSION }} | ||
java: | | ||
${{ env.JAVA_VERSION }} | ||
retry-attempts: 2 | ||
retry-delay: 10000 | ||
|
||
- name: Publish Fabric/Quilt to Modrinth | ||
uses: Kir-Antipov/[email protected] | ||
with: | ||
|
@@ -174,9 +124,6 @@ jobs: | |
quilt | ||
game-versions: | | ||
${{ env.MINECRAFT_VERSION }} | ||
dependencies: | | ||
cloth-config(required) | ||
modmenu(optional) | ||
java: | | ||
${{ env.JAVA_VERSION }} | ||
retry-attempts: 2 | ||
|
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