Skip to content

Commit f2a8333

Browse files
Merge pull request #4079 from RedisInsight/feature/RI-6281_enhance_Github_Actions
2 parents 796373b + 3d3c853 commit f2a8333

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/generate-build-summary.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ async function generateBuildSummary() {
1919
try {
2020
// Read the contents of the release directory and Docker subdirectory
2121
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}`) : [];
2323

2424
// Combine all files into a single array
2525
const allFiles = [...files, ...dockerFiles]
@@ -71,6 +71,7 @@ async function generateBuildSummary() {
7171
console.log('Build summary generated successfully.')
7272

7373
} catch (error) {
74+
console.error(error);
7475
}
7576
}
7677

.github/workflows/manual-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ jobs:
8484
with:
8585
target: ${{ needs.get-selected.outputs.selected }}
8686
debug: ${{ inputs.debug }}
87+
environment: ${{ inputs.environment }}
8788

8889
aws-upload:
8990
uses: ./.github/workflows/aws-upload-dev.yml

0 commit comments

Comments
 (0)