/GitMCDecomp

A GitHub Action can generate MC files history

Primary LanguageJavaApache License 2.0Apache-2.0

GitMCDecomp

GitHub workflow GitHub top language GitHub repo file count

GitHub Repo stars GitHub forks

English | 中文

A GitHub Action can generate Minecraft source files and put them into your repository.

How to use it...

Fork repository and configure secrets

Fork this repository (Action Repository), and create a private repository to store Minecraft source files (Store Repository).

Then, generate a deploy key for your Store Repository, and write the private key as a secret called DEPLOY_PRIVATE_KEY in Action Repository.

Also, you should write the full name of Store Repository as a secret called DESTINATION in Action Repository.

Trigger the workflow

The repository uses workflow_dispatch event to trigger workflows. If you can't post these events, you can use schedule event:

# listen-mc-decompile.yml
on:
  schedule:
    - cron: '0/5 * * * *'

Create for all Minecraft versions once

See diauweb/GitMCDecomp.