Skip to content

ci: publish releases to CurseForge alongside Modrinth - #24

Merged
KoSHeroff merged 1 commit into
mainfrom
feat/curseforge-publish
Jul 25, 2026
Merged

ci: publish releases to CurseForge alongside Modrinth#24
KoSHeroff merged 1 commit into
mainfrom
feat/curseforge-publish

Conversation

@KoSHeroff

Copy link
Copy Markdown
Member

Adds CurseForge uploads to the release workflow, mirroring the 7 Modrinth steps (5 stable + 2 MC26 beta), via the same mc-publish action.

Safe by design:

  • Each CurseForge step is continue-on-error: true — a CurseForge hiccup can never fail the gated Modrinth release or the tag/GitHub-release steps.
  • Steps run only when the CURSEFORGE_ID repo variable is set, so nothing changes until CurseForge is configured.

To enable (Settings → Secrets and variables → Actions):

  • Variable CURSEFORGE_ID = the CurseForge project's numeric ID
  • Secret CURSEFORGE_TOKEN = a CurseForge API token

CurseForge then publishes on the next version release. Merging this now is a no-op release-wise (tag v1.6.0 exists → release job short-circuits).

Add CurseForge upload steps mirroring the Modrinth ones. They run only when the
CURSEFORGE_ID repo variable is set and are all continue-on-error, so CurseForge
never blocks the gated Modrinth release. Requires a CURSEFORGE_TOKEN secret.
@KoSHeroff
KoSHeroff merged commit 3eaa949 into main Jul 25, 2026
8 checks passed
@KoSHeroff
KoSHeroff deleted the feat/curseforge-publish branch August 3, 2026 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant