From 423fe2c18b749658ca9d24356ac596b053bd63eb Mon Sep 17 00:00:00 2001 From: hugoalh Date: Sun, 8 Sep 2024 14:49:29 +0800 Subject: [PATCH] Update workflow --- .github/workflows/test-build.yml | 15 +++++++++++++++ .github/workflows/test-package.yml | 15 +++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index 14011fea..785e9195 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -12,6 +12,21 @@ jobs: with: key: "${{secrets.DISCORD_TEST_WEBHOOK_TEXT}}" content: "Hello, text channel!" + - uses: "hugoalh/send-discord-webhook-ghaction/_build@main" + with: + key: "${{secrets.DISCORD_TEST_WEBHOOK_TEXT}}" + poll_allow_multiselect: "true" + poll_answers: |- + - emoji: + name: "cat" + text: "Cat" + - emoji: + name: "dog" + text: "Dog" + - text: "Me" + - text: "Other" + poll_duration: "1" + poll_question: "Who?" - uses: "hugoalh/send-discord-webhook-ghaction/_build@main" with: key: "${{secrets.DISCORD_TEST_WEBHOOK_TEXT}}" diff --git a/.github/workflows/test-package.yml b/.github/workflows/test-package.yml index 732ace08..26c8a03e 100644 --- a/.github/workflows/test-package.yml +++ b/.github/workflows/test-package.yml @@ -12,6 +12,21 @@ jobs: with: key: "${{secrets.DISCORD_TEST_WEBHOOK_TEXT}}" content: "Hello, text channel!" + - uses: "hugoalh/send-discord-webhook-ghaction@main" + with: + key: "${{secrets.DISCORD_TEST_WEBHOOK_TEXT}}" + poll_allow_multiselect: "true" + poll_answers: |- + - emoji: + name: "cat" + text: "Cat" + - emoji: + name: "dog" + text: "Dog" + - text: "Me" + - text: "Other" + poll_duration: "1" + poll_question: "Who?" - uses: "hugoalh/send-discord-webhook-ghaction@main" with: key: "${{secrets.DISCORD_TEST_WEBHOOK_TEXT}}"