Skip to content

Commit 525eee8

Browse files
committed
ci: update ci workflow
1 parent 263f026 commit 525eee8

2 files changed

Lines changed: 10 additions & 11 deletions

File tree

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,10 @@ jobs:
2020
release:
2121
uses: game-design-driven/mod-release-workflow/.github/workflows/mod-release.yaml@main
2222
with:
23-
# Required - build config
24-
loader: "forge" # forge, fabric, neoforge, quilt
25-
mc_version: "1.20.1"
23+
# Required - mods.toml must define [mc-publish] keys
24+
# modrinth, curseforge, loader, mc_version, modrinth_slug, curseforge_slug
2625
java_version: "17"
2726

28-
# Optional - platform publishing (set IDs via repo vars or here)
29-
modrinth_id: ${{ vars.MODRINTH_ID }}
30-
curseforge_id: ${{ vars.CF_ID }}
31-
32-
# Optional - packwiz slugs for modpack sync (defaults to repo name lowercase)
33-
modrinth_slug: ${{ vars.MODRINTH_SLUG }}
34-
curseforge_slug: ${{ vars.CF_SLUG }}
35-
3627
# Optional - modpack downstream PR
3728
target_modpack_repo: ${{ vars.TARGET_MODPACK_REPO }}
3829
enable_modrinth_sync: ${{ vars.ENABLE_MODRINTH_SYNC == 'true' }}

src/main/resources/META-INF/mods.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,11 @@ mandatory=true
2525
versionRange="${minecraft_version_range}"
2626
ordering="NONE"
2727
side="BOTH"
28+
29+
[mc-publish]
30+
modrinth = "vYQcU5aT"
31+
curseforge = 1410978
32+
loader = "forge"
33+
mc_version = "1.20.1"
34+
modrinth_slug = "column-quick-swap"
35+
curseforge_slug = "columnquickswap"

0 commit comments

Comments
 (0)