mirror of
https://github.com/gradle/actions.git
synced 2025-11-26 17:09:10 +08:00
Do not run setup-gradle post action if workflow is cancelled
This commit is contained in:
@@ -242,6 +242,7 @@ runs:
|
|||||||
using: 'node20'
|
using: 'node20'
|
||||||
main: '../dist/setup-gradle/main/index.js'
|
main: '../dist/setup-gradle/main/index.js'
|
||||||
post: '../dist/setup-gradle/post/index.js'
|
post: '../dist/setup-gradle/post/index.js'
|
||||||
|
post-if: '!cancelled()'
|
||||||
|
|
||||||
branding:
|
branding:
|
||||||
icon: 'box'
|
icon: 'box'
|
||||||
|
|||||||
Reference in New Issue
Block a user