Fixed notify condition.

This commit is contained in:
2026-03-23 00:42:26 +08:00
parent 42e5859c93
commit cdfa1793ad
+1 -1
View File
@@ -55,7 +55,7 @@ jobs:
with:
arguments: ${{ matrix.target }}
- name: Notify Discord If Failed
if: ${{ cancelled() }}
if: ${{ failure() }}
uses: nitecon/discord-action@v2
with:
webhook-url: ${{ secrets.DISCORD_WEBHOOK }}