From 80e941e61874822d2a89974089c4915748e8f4b7 Mon Sep 17 00:00:00 2001 From: Jerome Prinet Date: Wed, 27 Aug 2025 14:35:00 +0200 Subject: [PATCH] Do not run setup-gradle post action if workflow is cancelled --- setup-gradle/action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/setup-gradle/action.yml b/setup-gradle/action.yml index d1ac1cb8..23f7ef72 100644 --- a/setup-gradle/action.yml +++ b/setup-gradle/action.yml @@ -242,6 +242,7 @@ runs: using: 'node20' main: '../dist/setup-gradle/main/index.js' post: '../dist/setup-gradle/post/index.js' + post-if: '!cancelled()' branding: icon: 'box'