Git Product home page Git Product logo

modrinth-publish's Introduction

Publish to Modrinth Actions

Action to upload a project hosted on Github to Modrinth

Inputs

Name Description Required Default
version_name The name of this version false version_number
version_number The version number of this version, overrides modrinth.yml true
version_type release, beta, or alpha false release
changelog The changelog for this version false
files A list of ZIP files to upload, newline-delimited true
sync_github Whether to sync your GitHub repository with Modrinth false false

Synchronization

If sync_github is set to true, the following will be synchronized with Modrinth:

  • Your repository's description as Modrinth's project summary
  • Your repository's README as Modrinth's project description
  • Your repository's URL Modrinth's source code repository
  • Your repository's issues page as Modrinth's issue tracker
  • Your repository's wiki page as Modrinth's wiki page

Example

Configuration

A modrinth.yml file is required in the root of the repository to configure the project, an example is shown below.

# The ID of the project
id: AaBbCcDd
# The version of the project, ignored if version_number is set in the workflow inputs
version: 1.0.0
# A list of game versions that this project supports
game_versions:
  - 1.20
  - 1.20.1
# A list of loaders that this project supports (see list below)
loaders: 
  - fabric
  - forge
# A list of dependencies for this project, project_id is ignored if version_id is set
dependencies:
  - project_id: EeFfGgHh
    type: required
  - version_id: IiJjKkLl
    type: optional

Loaders

Name Value
Bukkit bukkit
BungeeCord bungeecord
Data Pack datapack
Fabric fabric
Folia folia
Forge forge
LiteLoader liteloader
Risugami's Modloader modloader
Paper paper
Purpur purpur
Quilt quilt
Rift rift
Spigot spigot
Sponge sponge
Velocity velocity
Waterfall waterfall

modrinth-publish's People

Contributors

abigailwillow avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.