add WIP modrinth export support
Some checks failed
Actions / Build and Upload Export Files (push) Failing after 6s
Actions / Autotagger (push) Successful in 8s
Actions / Build Documentation (push) Successful in 20s

This commit is contained in:
SeaswimmerTheFsh 2024-05-11 14:21:37 -04:00
parent b9b582f577
commit 30e4c88c65
Signed by: cswimr
GPG key ID: 5D671B5D03D65A7F
2 changed files with 18 additions and 0 deletions

View file

@ -67,6 +67,12 @@ jobs:
cp -vrT ./build/prism /export/prism cp -vrT ./build/prism /export/prism
cp -v ./unsup.ini /export/prism/.minecraft/ cp -v ./unsup.ini /export/prism/.minecraft/
- name: Create Modrinth export files
run: |
mkdir -vp /export/modrinth/.minecraft/overrides
cp -vrT ./build/modrinth.index.json /export/modrinth/
cp -vrT /export/atlauncher/.minecraft/galacticfactory-updater.jar /export/modrinth/.minecraft/overrides/
- name: Upload ATLauncher export artifact - name: Upload ATLauncher export artifact
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:

12
build/modrinth.index.json Normal file
View file

@ -0,0 +1,12 @@
{
"game": "minecraft",
"formatVersion": 1,
"versionId": "1.0.0",
"name": "GalacticFactory",
"summary": "A",
"files": [],
"dependencies": {
"forge": "47.2.0",
"minecraft": "1.20.1"
}
}