- Try display download links

- Initialize test CI
This commit is contained in:
ParticleG
2022-08-04 21:58:15 +08:00
parent 2462c32fa5
commit ea16383231
2 changed files with 519 additions and 156 deletions

View File

@@ -483,6 +483,23 @@ jobs:
uses: geekyeggo/delete-artifact@v1
with:
name: ${{ env.CORE_LOVE_ARTIFACT_NAME }}
- name: Show download Links
shell: bash
run: |
DOWNLOAD_LINKS=$(cat << EOF
Core: ${{ needs.build-core.outputs.download-url}}
Android: ${{ needs.build-android.outputs.download-url }}
iOS: ${{ needs.build-ios.outputs.download-url }}
Linux: ${{ needs.build-linux.outputs.download-url }}
macOS App Store: ${{ needs.build-macos-appstore.outputs.download-url }}
macOS portable: ${{ needs.build-macos-portable.outputs.download-url }}
Windows: ${{ needs.build-windows.outputs.download-url}}
EOF
)
DOWNLOAD_LINKS="${DOWNLOAD_LINKS//'%'/'%25'}"
DOWNLOAD_LINKS="${DOWNLOAD_LINKS//$'\n'/'%0A'}"
DOWNLOAD_LINKS="${DOWNLOAD_LINKS//$'\r'/'%0D'}"
echo "::notice title=Downloads::$DOWNLOAD_LINKS"
- name: Send Discord message
uses: Sniddl/discord-commits@v1.3
with: