File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ async function generateBuildSummary() {
19
19
try {
20
20
// Read the contents of the release directory and Docker subdirectory
21
21
const files = fs . readdirSync ( directoryPath )
22
- const dockerFiles = fs . readdirSync ( dockerDirectoryPath ) . map ( ( file ) => `docker/${ file } ` )
22
+ const dockerFiles = fs . existsSync ( dockerDirectoryPath ) ? fs . readdirSync ( dockerDirectoryPath ) . map ( ( file ) => `docker/${ file } ` ) : [ ] ;
23
23
24
24
// Combine all files into a single array
25
25
const allFiles = [ ...files , ...dockerFiles ]
@@ -71,6 +71,7 @@ async function generateBuildSummary() {
71
71
console . log ( 'Build summary generated successfully.' )
72
72
73
73
} catch ( error ) {
74
+ console . error ( error ) ;
74
75
}
75
76
}
76
77
Original file line number Diff line number Diff line change 84
84
with :
85
85
target : ${{ needs.get-selected.outputs.selected }}
86
86
debug : ${{ inputs.debug }}
87
+ environment : ${{ inputs.environment }}
87
88
88
89
aws-upload :
89
90
uses : ./.github/workflows/aws-upload-dev.yml
You can’t perform that action at this time.
0 commit comments