Update build.yml

This commit is contained in:
Xikaro 2024-01-05 17:36:20 +05:00
parent 1897f9eeb0
commit 9729f91120

View file

@ -66,14 +66,11 @@ jobs:
id: message
shell: bash
run: |
header="## **${{ steps.info.outputs.project_name }}** был обновлен до ${{ steps.info.outputs.project_version }}! :tada:"
link+="[CurseForge](<https://www.curseforge.com/minecraft/modpacks/terrafirmagreg/files/5009295>) • "
link+="[GitHub](<https://github.com/TerraFirmaGreg-Team/TFG-Modpack-1.20.x/releases/tag/0.4.0>) • "
link+="[Issues](<https://github.com/TerraFirmaGreg-Team/TFG-Modpack-1.20.x/issues>)"
news="$header\n$link"
echo "markdown=$news" >> $GITHUB_OUTPUT
echo "title=$link" >> $GITHUB_OUTPUT
- name: Send Discord message
@ -82,10 +79,9 @@ jobs:
webhook-url: "${{secrets.RELEASES_1_20}}"
username: "TerraFirmaGreg"
avatar-url: "https://raw.githubusercontent.com/TerraFirmaGreg-Team/.github/main/branding/logo_new_year.png"
embed-title: "${{ steps.message.outputs.markdown }}"
embed-title: "${{ steps.message.outputs.title }}"
embed-description: "${{ steps.changelog.outputs.description }}"
embed-url: https://github.com/TerraFirmaGreg-Team/TFG-Modpack-1.20.x/releases/tag/0.4.0
content: "${{ steps.changelog.outputs.description }}"
embed-color: "#57F287"
# build-cf-modpack: