File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -232,7 +232,10 @@ jobs:
232
232
# before publishing the virtual packages (which are architecture agnostic)
233
233
publish-containers :
234
234
name : Publish Containers
235
- if : github.event_name != 'pull_request_target'
235
+ if : |
236
+ always() &&
237
+ github.event_name != 'pull_request_target' &&
238
+ (needs.test.result == 'success' || needs.test.result == 'skipped')
236
239
runs-on : ubuntu-20.04
237
240
needs : [test]
238
241
env :
@@ -302,7 +305,10 @@ jobs:
302
305
# before publishing the virtual packages (which are architecture agnostic)
303
306
publish-virtual-packages :
304
307
name : Publish Virtual Packages
305
- if : github.event_name != 'pull_request_target'
308
+ if : |
309
+ always() &&
310
+ github.event_name != 'pull_request_target' &&
311
+ needs.publish.result == 'success'
306
312
runs-on : ubuntu-20.04
307
313
needs : [publish]
308
314
steps :
You can’t perform that action at this time.
0 commit comments