mirror of
https://github.com/Nostalgica-Reverie/Content-Monorepo.git
synced 2026-05-09 00:24:15 +00:00
a
This commit is contained in:
@@ -214,15 +214,27 @@ jobs:
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Upload to Platforms
|
- name: Upload to Modrinth
|
||||||
if: "steps.meta.outputs.mr_id != '' || steps.meta.outputs.cf_id != ''"
|
if: steps.meta.outputs.mr_id != ''
|
||||||
uses: https://github.com/Kir-Antipov/mc-publish@v3.3
|
uses: https://github.com/Kir-Antipov/mc-publish@v3.3
|
||||||
with:
|
with:
|
||||||
modrinth-id: ${{ steps.meta.outputs.mr_id }}
|
modrinth-id: ${{ steps.meta.outputs.mr_id }}
|
||||||
modrinth-token: ${{ secrets.MR }}
|
modrinth-token: ${{ secrets.MR }}
|
||||||
curseforge-id: ${{ steps.meta.outputs.cf_id }}
|
files: "${{ github.workspace }}/${{ steps.meta.outputs.path }}/artifacts/*.mrpack"
|
||||||
curseforge-token: ${{ secrets.CF }}
|
name: "${{ steps.meta.outputs.name }}"
|
||||||
files: "${{ github.workspace }}/${{ steps.meta.outputs.path }}/artifacts/*"
|
version: "${{ steps.meta.outputs.ver }}"
|
||||||
|
version-type: ${{ steps.meta.outputs.release_type }}
|
||||||
|
changelog: "${{ steps.changelog.outputs.notes }}"
|
||||||
|
loaders: ${{ steps.meta.outputs.type == 'modpack' && steps.meta.outputs.loader || 'minecraft' }}
|
||||||
|
game-versions: "${{ steps.meta.outputs.mc }}"
|
||||||
|
|
||||||
|
- name: Upload to CurseForge
|
||||||
|
if: steps.meta.outputs.cf_id != ''
|
||||||
|
uses: https://github.com/Kir-Antipov/mc-publish@v3.3
|
||||||
|
with:
|
||||||
|
curseforge-id: ${{ steps.meta.outputs.cf_id }}
|
||||||
|
curseforge-token: ${{ secrets.CF }}
|
||||||
|
files: "${{ github.workspace }}/${{ steps.meta.outputs.path }}/artifacts/*.zip"
|
||||||
name: "${{ steps.meta.outputs.name }}"
|
name: "${{ steps.meta.outputs.name }}"
|
||||||
version: "${{ steps.meta.outputs.ver }}"
|
version: "${{ steps.meta.outputs.ver }}"
|
||||||
version-type: ${{ steps.meta.outputs.release_type }}
|
version-type: ${{ steps.meta.outputs.release_type }}
|
||||||
|
|||||||
Reference in New Issue
Block a user