English | 中文
A GitHub Action can generate Minecraft source files and put them into your repository.
Fork this repository (Action Repository), and create a private repository to store Minecraft source files (Store Repository) with a master and a version branch.
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.
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 * * * *'
See diauweb/GitMCDecomp.