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 @@ -96,7 +96,7 @@ async function main() {
9696
9797 try {
9898 console . log ( "\033[36mExecuting helm\033[0m" ) ;
99- result = await new Promise ( ( resolve , reject ) => {
99+ const result = await new Promise ( ( resolve , reject ) => {
100100 const process = execFile ( execShFile . name ) ;
101101 process . stdout . on ( 'data' , console . log ) ;
102102 process . stderr . on ( 'data' , console . log ) ;
@@ -111,10 +111,16 @@ async function main() {
111111 }
112112 } ) ;
113113 } ) ;
114+ const [ output , notes ] = result . split ( / ^ N O T E S : $ / m) ;
114115 fs . appendFileSync (
115116 process . env . GITHUB_OUTPUT ,
116- `helm_output<<${ multiLineDelimiter } \n${ result . trim ( ) } \n${ multiLineDelimiter } \n`
117+ `helm_output<<${ multiLineDelimiter } \n${ output } \n${ multiLineDelimiter } \n`
117118 ) ;
119+ fs . appendFileSync (
120+ process . env . GITHUB_OUTPUT ,
121+ `helm_notes<<${ multiLineDelimiter } \n${ notes } \n${ multiLineDelimiter } \n`
122+ ) ;
123+
118124 } catch ( error ) {
119125 process . exit ( 1 ) ;
120126 } finally {
You can’t perform that action at this time.
0 commit comments