File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -101,8 +101,8 @@ jobs:
101101 publish-maven-artifacts :
102102 needs : publish-release-tag
103103 if : |
104- (github.event.inputs.publish_maven == 'true' || github.event.inputs.publish_image == 'true' || github.event.inputs.publish_docs == 'true' ) &&
105- (success() || ( github.event.inputs.publish_release_tag != 'true' && !failure() && !cancelled()) )
104+ (!failure() &&!cancelled() ) &&
105+ (github.event.inputs.publish_maven == 'true' || github.event.inputs.publish_image == 'true' || github.event.inputs.publish_docs == 'true' )
106106 runs-on : ubuntu-latest
107107 environment : release
108108 timeout-minutes : 60
@@ -217,7 +217,7 @@ jobs:
217217
218218 publish-docker-image :
219219 needs : publish-maven-artifacts
220- if : github.event.inputs.publish_image == 'true' && !failure() && !cancelled()
220+ if : (!failure() && !cancelled()) && github.event.inputs.publish_image == 'true'
221221 runs-on : ubuntu-latest
222222 environment : release
223223 timeout-minutes : 150
@@ -274,9 +274,7 @@ jobs:
274274
275275 publish-native-image :
276276 needs : publish-release-tag
277- if : |
278- github.event.inputs.publish_native_image == 'true' &&
279- (success() || (github.event.inputs.publish_release_tag != 'true' && !failure() && !cancelled()))
277+ if : (!failure() && !cancelled()) && github.event.inputs.publish_native_image == 'true'
280278 runs-on : ubuntu-latest
281279 permissions :
282280 contents : read
@@ -355,7 +353,7 @@ jobs:
355353
356354 publish-docs :
357355 needs : publish-maven-artifacts
358- if : github.event.inputs.publish_docs == 'true' && !failure() && !cancelled()
356+ if : (!failure() && !cancelled()) && github.event.inputs.publish_docs == 'true'
359357 runs-on : ubuntu-latest
360358 environment : release
361359
You can’t perform that action at this time.
0 commit comments