-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: switch to new publish plugin that supports modrinth
- Loading branch information
1 parent
d650eb5
commit 8ce7181
Showing
1 changed file
with
27 additions
and
15 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 |
---|---|---|
|
@@ -77,22 +77,34 @@ jobs: | |
branch: version/1.20.1 | ||
commit_message: 'docs: update CHANGELOG.md for ${{ github.ref_name }} [skip ci]' | ||
file_pattern: CHANGELOG.md | ||
- name: Upload to Curseforge | ||
id: curseforge | ||
uses: itsmeow/curseforge-upload@master | ||
if: ${{ steps.get_release_type.outputs.result != 'test' }} | ||
- name: Upload to Mod Platforms | ||
uses: Kir-Antipov/[email protected] | ||
with: | ||
token: ${{ secrets.CURSEFORGE_API_KEY }} | ||
project_id: 361026 | ||
game_endpoint: minecraft | ||
file_path: ./build/libs/occultism-${{ steps.get_mc_version.outputs.result }}-${{ steps.get_version.outputs.result }}.jar | ||
changelog_type: markdown | ||
modrinth-id: sbJh4AZw | ||
modrinth-token: ${{ secrets.MODRINTH_API_KEY }} | ||
curseforge-id: 361026 | ||
curseforge-token: ${{ secrets.CURSEFORGE_API_KEY }} | ||
|
||
files: | | ||
build/libs/occultism-${{ steps.get_mc_version.outputs.result }}-${{ steps.get_version.outputs.result }}.jar | ||
name: occultism-${{ steps.get_mc_version.outputs.result }}-${{ steps.get_version.outputs.result }}.jar | ||
version: ${{ steps.get_mc_version.outputs.result }}-${{ steps.get_version.outputs.result }} | ||
version-type: ${{ steps.get_release_type.outputs.result }} | ||
game-versions: | | ||
1.20 | ||
${{ steps.get_mc_version.outputs.result }} | ||
changelog: |- | ||
[Changelog] | ||
${{ steps.changelog.outputs.changes }} | ||
Find changes for all versions at https://github.com/klikli-dev/occultism/releases | ||
game_versions: Forge,Minecraft 1.20:1.20,Minecraft 1.20:${{ steps.get_mc_version.outputs.result }} | ||
display_name: occultism-${{ steps.get_mc_version.outputs.result }}-${{ steps.get_version.outputs.result }}.jar | ||
release_type: ${{ steps.get_release_type.outputs.result }} | ||
relations: modonomicon:requiredDependency,curios:requiredDependency,geckolib:requiredDependency,smartbrainlib:requiredDependency,theurgy:optionalDependency,jei:optionalDependency,almost-unified:optionalDependency,perviaminvenire:optionalDependency | ||
dependencies: | | ||
forge(required) | ||
modonomicon(required) | ||
curios(required) | ||
geckolib(required) | ||
smartbrainlib(required) | ||
theurgy(optional) | ||
jei(optional) | ||
almost-unified(optional) | ||
perviaminvenire(optional) |