From d5faaf45bd399132b5bb1c3b0e13c76c8e075431 Mon Sep 17 00:00:00 2001 From: Refringe Date: Mon, 11 Mar 2024 14:23:19 -0400 Subject: [PATCH] Add description back in... --- .gitea/workflows/build.yaml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 8630c8c..02afcb1 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -480,9 +480,10 @@ jobs: DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }} BUILD_TYPE: ${{ needs.determine-build-type.outputs.build_type }} BUILD_NAME: ${{ needs.assemble-release.outputs.build_name }} - DOWNLOAD_LINK: ${{ steps.upload-https-7z.outputs.link_https }} - TORRENT_LINK: ${{ steps.upload-https-torrent.outputs.link_torrent }} - MAGNET_LINK: ${{ steps.create-torrent.outputs.magnet_link }} + LINK_MEGA: ${{ steps.upload-mega.outputs.link_mega }} + LINK_HTTPS: ${{ steps.upload-https-7z.outputs.link_https }} + LINK_TORRENT: ${{ steps.upload-https-torrent.outputs.link_torrent }} + LINK_MAGNET: ${{ steps.create-torrent.outputs.magnet_link }} run: | cd /workspace/refringe/Build/ FOOTER_MESSAGES=("You look great today!" "Powered by coffee" "Did you remember to hydrate today?" "Have you tried turning it off and on again?" "In Chomp we trust" "Beep boop, I'm a bot" "Keep calm and commit your code" "May the source be with you" "Go to bed, Terk" "Please direct all support requests to Drakia" "Meaw") @@ -507,9 +508,10 @@ jobs: --arg EMBED_TITLE "$EMBED_TITLE" \ --arg EMBED_DESCRIPTION "$EMBED_DESCRIPTION" \ --arg BUILD_NAME "$BUILD_NAME" \ - --arg DOWNLOAD_LINK "$DOWNLOAD_LINK" \ - --arg TORRENT_LINK "$TORRENT_LINK" \ - --arg MAGNET_LINK "$MAGNET_LINK" \ + --arg LINK_MEGA "$LINK_MEGA" \ + --arg LINK_HTTPS "$LINK_HTTPS" \ + --arg LINK_TORRENT "$LINK_TORRENT" \ + --arg LINK_MAGNET "$LINK_MAGNET" \ --argjson EMBED_COLOR $EMBED_COLOR \ --arg FOOTER_MESSAGE "$FOOTER_MESSAGE" \ --arg TIMESTAMP "$TIMESTAMP" \ @@ -520,7 +522,8 @@ jobs: "embeds": [ { "title": $EMBED_TITLE, - "url": $DOWNLOAD_LINK, + "description": ($EMBED_DESCRIPTION + "\\n\\n**Build Name:**\\n" + $BUILD_NAME + "\\n\\nšŸš€ **Primary Download Link:**\\n" + $LINK_MEGA + "\\n\\nšŸ”— **Torrent Link:**\\n" + $LINK_TORRENT + "\\n\\nšŸ§² **Torrent Magnet Link:**\\n" + $LINK_MAGNET + "\\n\\n**Mirrors:**\\n\\nšŸš§ In order to conserve bandwidth, please consider using the *above* methods to download the release. If you have issues using those methods, you're free to download using any of the following HTTP mirrors.\\n\\nšŸš§ While the links *below* are not secret, **do not advertise them**. The primary MEGA link or torrent should be used to advertise any downloads.\\n\\n" + $LINK_HTTPS), + "url": $LINK_MEGA, "color": $EMBED_COLOR, "footer": { "text": $FOOTER_MESSAGE