File tree Expand file tree Collapse file tree 3 files changed +16
-18
lines changed Expand file tree Collapse file tree 3 files changed +16
-18
lines changed Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ jobs:
148
148
forgeboxAPIKey : ${{ secrets.FORGEBOX_TOKEN }}
149
149
150
150
- name : Download build artifacts
151
- uses : actions/download-artifact@v2
151
+ uses : actions/download-artifact@v4
152
152
with :
153
153
name : ${{ env.MODULE_ID }}
154
154
path : .tmp
Original file line number Diff line number Diff line change 84
84
curl http://127.0.0.1:60299
85
85
86
86
# Startup Fake SMTP
87
- - uses : isbang /compose-action@v1.0.0
87
+ - uses : hoverkraft-tech /compose-action@v2
88
88
with :
89
89
compose-file : ' ./test-harness/tests/resources/docker-compose.yml'
90
90
Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ component accessors="true" {
17
17
// DI
18
18
property name = " wirebox" inject = " wirebox" ;
19
19
20
+ property name = " renderer" inject = " coldbox:renderer" ;
21
+
20
22
/**
21
23
* The config struct representing the mail payload which is sent to the configured protocol in the mail service
22
24
*/
@@ -457,25 +459,21 @@ component accessors="true" {
457
459
458
460
// Do we have a layout?
459
461
if ( ! isNull ( arguments .layout ) && len ( arguments .layout ) ) {
460
- variables .config .body = variables .wirebox
461
- .getInstance ( " Renderer@coldbox" )
462
- .layout (
463
- layout : arguments .layout ,
464
- module : arguments .layoutModule ,
465
- view : arguments .view ,
466
- args : arguments .args ,
467
- viewModule : arguments .module
468
- );
462
+ variables .config .body = variables .renderer .layout (
463
+ layout : arguments .layout ,
464
+ module : arguments .layoutModule ,
465
+ view : arguments .view ,
466
+ args : arguments .args ,
467
+ viewModule : arguments .module
468
+ );
469
469
}
470
470
// Else, plain view rendering
471
471
else {
472
- variables .config .body = variables .wirebox
473
- .getInstance ( " Renderer@coldbox" )
474
- .view (
475
- view : arguments .view ,
476
- args : arguments .args ,
477
- module : arguments .module
478
- );
472
+ variables .config .body = variables .renderer .view (
473
+ view : arguments .view ,
474
+ args : arguments .args ,
475
+ module : arguments .module
476
+ );
479
477
}
480
478
481
479
return this ;
You can’t perform that action at this time.
0 commit comments