From 8ec83e3de6b7bb50928b91ba681e0f8be6e2be90 Mon Sep 17 00:00:00 2001 From: zzak Date: Sat, 11 Mar 2023 12:06:29 +0900 Subject: [PATCH] Use action-discord v3: the _fixed_ ruby version (#1908) --- .github/workflows/test.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8473e6f6a..31431f064 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -97,10 +97,11 @@ jobs: run: "" notify: - uses: zzak/action-discord/.github/workflows/notify.yml@main + runs-on: ubuntu-latest if: always() && github.ref_name == 'main' needs: test - secrets: - DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} - with: - result: ${{ needs.test.result }} + steps: + - uses: zzak/action-discord@v3 + with: + result: ${{ needs.test.result }} + webhook: ${{ secrets.DISCORD_WEBHOOK }}