buildtools
This commit is contained in:
parent
867cc56ea7
commit
2a1bff37c4
5 changed files with 616 additions and 582 deletions
38
.github/workflows/release.yml
vendored
38
.github/workflows/release.yml
vendored
|
|
@ -21,7 +21,8 @@ jobs:
|
|||
project_name: ${{ steps.info.outputs.project_name }}
|
||||
project_version: ${{ steps.info.outputs.project_version }}
|
||||
mc_version: ${{ steps.info.outputs.mc_version }}
|
||||
changelog: ${{ steps.changelog.outputs.description }}
|
||||
changelog_ru: ${{ steps.changelog_ru.outputs.description }}
|
||||
changelog_en: ${{ steps.changelog_en.outputs.description }}
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
|
@ -57,10 +58,16 @@ jobs:
|
|||
fi
|
||||
|
||||
- name: Changelog Parser
|
||||
id: changelog
|
||||
id: changelog_ru
|
||||
uses: coditory/changelog-parser@v1.0.2
|
||||
with:
|
||||
path: CHANGELOG.md
|
||||
path: CHANGELOG_RU.md
|
||||
|
||||
- name: Changelog Parser
|
||||
id: changelog_en
|
||||
uses: coditory/changelog-parser@v1.0.2
|
||||
with:
|
||||
path: CHANGELOG_EN.md
|
||||
|
||||
build-cf-modpack:
|
||||
name: Build CF Modpack
|
||||
|
|
@ -206,7 +213,12 @@ jobs:
|
|||
project-id: ${{ vars.CF_MODPACK_ID }}
|
||||
modpack-path: ${{ needs.modpack-info.outputs.project_name }}-${{ needs.modpack-info.outputs.project_version }}-cf.zip
|
||||
modpack-server-path: ${{ needs.modpack-info.outputs.project_name }}-${{ needs.modpack-info.outputs.project_version }}-server.zip
|
||||
changelog: ${{ needs.modpack-info.outputs.changelog }}
|
||||
changelog: |
|
||||
RU
|
||||
${{ needs.modpack-info.outputs.changelog_ru }}
|
||||
|
||||
EN
|
||||
${{ needs.modpack-info.outputs.changelog_en }}
|
||||
changelog-format: markdown
|
||||
game-version: ${{ needs.modpack-info.outputs.mc_version }}
|
||||
display-name: ${{ needs.modpack-info.outputs.project_name }}-${{ needs.modpack-info.outputs.project_version }}
|
||||
|
|
@ -242,7 +254,9 @@ jobs:
|
|||
# project-id: ${{ vars.MODRINTH_MODPACK_ID }}
|
||||
# modpack-path: ${{ needs.modpack-info.outputs.project_name }}-${{ needs.modpack-info.outputs.project_version }}-mrd.zip
|
||||
# modpack-server-path: ${{ needs.modpack-info.outputs.project_name }}-${{ needs.modpack-info.outputs.project_version }}-server.zip
|
||||
# changelog: "${{ needs.modpack-info.outputs.changelog }}"
|
||||
# changelog: |
|
||||
# ${{ needs.modpack-info.outputs.changelog_ru }}
|
||||
# ${{ needs.modpack-info.outputs.changelog_en }}
|
||||
# changelog-format: markdown
|
||||
# game-version: ${{ needs.modpack-info.outputs.mc_version }}
|
||||
# display-name: ${{ needs.modpack-info.outputs.project_name }}-${{ needs.modpack-info.outputs.project_version }}
|
||||
|
|
@ -265,7 +279,12 @@ jobs:
|
|||
prerelease: false
|
||||
generate_release_notes: true
|
||||
name: ${{ needs.modpack-info.outputs.project_version }}
|
||||
body: ${{ needs.modpack-info.outputs.changelog }}
|
||||
body: |
|
||||
RU
|
||||
${{ needs.modpack-info.outputs.changelog_ru }}
|
||||
|
||||
EN
|
||||
${{ needs.modpack-info.outputs.changelog_en }}
|
||||
files: |
|
||||
${{ needs.modpack-info.outputs.project_name }}-${{ needs.modpack-info.outputs.project_version }}-cf.zip
|
||||
${{ needs.modpack-info.outputs.project_name }}-${{ needs.modpack-info.outputs.project_version }}-mmc.zip
|
||||
|
|
@ -293,8 +312,11 @@ jobs:
|
|||
**GameVersion**: `${{ needs.modpack-info.outputs.mc_version }}`
|
||||
**Website Link**: [CurseForge](https://www.curseforge.com/minecraft/modpacks/terrafirmagreg/files/${{ needs.release-curseforge.outputs.cf_release_id }})
|
||||
|
||||
**Changelog**
|
||||
```${{ needs.modpack-info.outputs.changelog }}```
|
||||
**Changelog**
|
||||
:flag_ru:
|
||||
```${{ needs.modpack-info.outputs.changelog_ru }}```
|
||||
:flag_gb:
|
||||
```${{ needs.modpack-info.outputs.changelog_en }}```
|
||||
embed-color: 5814783
|
||||
|
||||
# close-fixed-issues:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue