From 7b5d06ce6d1eca2d553a9f107f92aeedfd472a96 Mon Sep 17 00:00:00 2001 From: hugoalh Date: Mon, 9 Sep 2024 15:25:53 +0800 Subject: [PATCH] Update workflow --- .github/workflows/announce-new-release.yml | 4 ++-- .github/workflows/publish-docker-container-ghp.yml | 2 +- .github/workflows/test-build.yml | 5 ++++- .github/workflows/test-package.yml | 2 +- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/announce-new-release.yml b/.github/workflows/announce-new-release.yml index 62a2d8d0..263bbe8c 100644 --- a/.github/workflows/announce-new-release.yml +++ b/.github/workflows/announce-new-release.yml @@ -14,9 +14,9 @@ jobs: uses: "hugoalh/send-discord-webhook-ghaction@main" with: key: "${{secrets.DISCORD_HXHS_PROJECTNEWRELEASEANNOUNCER_WEBHOOK}}" - embeds: | + embeds: |- - title: "Send Discord Webhook (GitHub Action)" - description: | + description: |- > ${{github.event.repository.description}} Version ${{github.event.release.name}} (`${{github.event.release.tag_name}}`) just released! diff --git a/.github/workflows/publish-docker-container-ghp.yml b/.github/workflows/publish-docker-container-ghp.yml index 0706e24b..2080c5c8 100644 --- a/.github/workflows/publish-docker-container-ghp.yml +++ b/.github/workflows/publish-docker-container-ghp.yml @@ -63,5 +63,5 @@ jobs: push: "true" tags: "${{steps.docker-meta.outputs.tags}}" - name: "List Docker Image" - run: | + run: |- docker image ls --all --digests --no-trunc diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index 9e3753a2..2734e46f 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -8,6 +8,9 @@ jobs: permissions: {} runs-on: "ubuntu-latest" steps: + - name: "List Docker Image" + run: |- + docker image ls --all --digests --no-trunc - uses: "hugoalh/send-discord-webhook-ghaction/_build@main" with: key: "${{secrets.DISCORD_TEST_WEBHOOK_TEXT}}" @@ -49,7 +52,7 @@ jobs: content: "Text message. Up to 2000 characters." username: "Webhook" avatar_url: "https://i.imgur.com/4M34hi2.png" - embeds: | + embeds: |- [ { "author": { diff --git a/.github/workflows/test-package.yml b/.github/workflows/test-package.yml index 66d650e1..9b830f58 100644 --- a/.github/workflows/test-package.yml +++ b/.github/workflows/test-package.yml @@ -49,7 +49,7 @@ jobs: content: "Text message. Up to 2000 characters." username: "Webhook" avatar_url: "https://i.imgur.com/4M34hi2.png" - embeds: | + embeds: |- [ { "author": {