generated from FabricMC/fabric-example-mod
-
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
76d507d
commit 85dd5d0
Showing
1 changed file
with
56 additions
and
13 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,7 +5,7 @@ permissions: | |
contents: write | ||
|
||
env: | ||
MINECRAFT_VERSION: 1.20.1 | ||
MINECRAFT_VERSION: 1.20.4 | ||
JAVA_VERSION: 17 | ||
VERSION: 2.1.0 | ||
MODRINTH_ID: owUiXPam | ||
|
@@ -33,8 +33,31 @@ jobs: | |
- name: Build | ||
run: ./gradlew build | ||
|
||
- name: Publish NeoForge to CurseForge | ||
uses: Kir-Antipov/[email protected] | ||
with: | ||
# CurseForge | ||
curseforge-id: ${{ env.CURSEFORGE_ID }} | ||
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} | ||
|
||
# Config | ||
name: "[NeoForge] Creeper Firework ${{ 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: | | ||
neoforge | ||
game-versions: | | ||
${{ env.MINECRAFT_VERSION }} | ||
java: | | ||
${{ env.JAVA_VERSION }} | ||
retry-attempts: 2 | ||
retry-delay: 10000 | ||
|
||
- name: Publish Forge to CurseForge | ||
uses: Kir-Antipov/mc-publish@v3.2 | ||
uses: Kir-Antipov/mc-publish@v3.3 | ||
with: | ||
# CurseForge | ||
curseforge-id: ${{ env.CURSEFORGE_ID }} | ||
|
@@ -45,8 +68,7 @@ jobs: | |
version: ${{ env.VERSION }} | ||
version-type: release | ||
changelog-file: changelog/${{ env.VERSION }}.md | ||
files-primary: forge/build/libs/*-${{ env.VERSION }}!(-@(dev|sources|slim)).jar | ||
files-secondary: "" | ||
files: forge/build/libs/*-${{ env.VERSION }}!(-@(dev|sources|slim|dev-shadow)).jar | ||
|
||
loaders: | | ||
forge | ||
|
@@ -58,7 +80,7 @@ jobs: | |
retry-delay: 10000 | ||
|
||
- name: Publish Fabric/Quilt to CurseForge | ||
uses: Kir-Antipov/mc-publish@v3.2 | ||
uses: Kir-Antipov/mc-publish@v3.3 | ||
with: | ||
# CurseForge | ||
curseforge-id: ${{ env.CURSEFORGE_ID }} | ||
|
@@ -69,8 +91,7 @@ jobs: | |
version: ${{ env.VERSION }} | ||
version-type: release | ||
changelog-file: changelog/${{ env.VERSION }}.md | ||
files-primary: fabric/build/libs/*-${{ env.VERSION }}!(-@(dev|sources|slim)).jar | ||
files-secondary: "" | ||
files: fabric/build/libs/*-${{ env.VERSION }}!(-@(dev|sources|slim|dev-shadow)).jar | ||
|
||
loaders: | | ||
fabric | ||
|
@@ -85,8 +106,32 @@ jobs: | |
retry-attempts: 2 | ||
retry-delay: 10000 | ||
|
||
- name: Publish NeoForge to Modrinth | ||
uses: Kir-Antipov/[email protected] | ||
with: | ||
# Modrinth | ||
modrinth-id: ${{ env.MODRINTH_ID }} | ||
modrinth-featured: true | ||
modrinth-token: ${{ secrets.MODRINTH_TOKEN }} | ||
|
||
# Config | ||
name: "Creeper Firework ${{ env.VERSION }} for ${{ env.MINECRAFT_VERSION }}" | ||
version: ${{ env.VERSION }} | ||
version-type: release | ||
changelog-file: changelog/${{ env.VERSION }}.md | ||
files: neoforge/build/libs/*-${{ env.VERSION }}!(-@(dev|sources|slim|dev-shadow)).jar | ||
|
||
loaders: | | ||
neoforge | ||
game-versions: | | ||
${{ env.MINECRAFT_VERSION }} | ||
java: | | ||
${{ env.JAVA_VERSION }} | ||
retry-attempts: 2 | ||
retry-delay: 10000 | ||
|
||
- name: Publish Forge to Modrinth | ||
uses: Kir-Antipov/mc-publish@v3.2 | ||
uses: Kir-Antipov/mc-publish@v3.3 | ||
with: | ||
# Modrinth | ||
modrinth-id: ${{ env.MODRINTH_ID }} | ||
|
@@ -98,8 +143,7 @@ jobs: | |
version: ${{ env.VERSION }} | ||
version-type: release | ||
changelog-file: changelog/${{ env.VERSION }}.md | ||
files-primary: forge/build/libs/*-${{ env.VERSION }}!(-@(dev|sources|slim)).jar | ||
files-secondary: "" | ||
files: forge/build/libs/*-${{ env.VERSION }}!(-@(dev|sources|slim|dev-shadow)).jar | ||
|
||
loaders: | | ||
forge | ||
|
@@ -111,7 +155,7 @@ jobs: | |
retry-delay: 10000 | ||
|
||
- name: Publish Fabric/Quilt to Modrinth | ||
uses: Kir-Antipov/mc-publish@v3.2 | ||
uses: Kir-Antipov/mc-publish@v3.3 | ||
with: | ||
# Modrinth | ||
modrinth-id: ${{ env.MODRINTH_ID }} | ||
|
@@ -123,8 +167,7 @@ jobs: | |
version: ${{ env.VERSION }} | ||
version-type: release | ||
changelog-file: changelog/${{ env.VERSION }}.md | ||
files-primary: fabric/build/libs/*-${{ env.VERSION }}!(-@(dev|sources|slim)).jar | ||
files-secondary: "" | ||
files: fabric/build/libs/*-${{ env.VERSION }}!(-@(dev|sources|slim|dev-shadow)).jar | ||
|
||
loaders: | | ||
fabric | ||
|