add WIP modrinth export support
This commit is contained in:
parent
b9b582f577
commit
30e4c88c65
2 changed files with 18 additions and 0 deletions
|
@ -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
12
build/modrinth.index.json
Normal 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"
|
||||||
|
}
|
||||||
|
}
|
Reference in a new issue